this post i read really makes psql better: http://merlinmoncure.blogspot.com/2007/10/better-psql-with-less.html
you could also try PAGER="more", i used to like it better
A better psql with less
psql is a great tool, but not very good at browsing data. Or is it? The following settings will make psql much more usable.
in your user profile:
export PAGER=less
export LESS="-iMSx4 -FX"
in your .psqlrc (make it if it's not already there)
\timing
\pset pager always
log in into psql ...
voilà
Python, IaC, algo trading, programming, server administration, Linux, PHP, CakePHP, PostgreSQL, MySQL, Joomla ...
Subscribe to:
Posts (Atom)
cancel script completely on ctrl-c
I found this question interesting: basically how to cancel completely a script and all child processes : You do this by creating a subro...
-
I've been using WinScp and a script to compress files at maximum compressión, name the file as name_YYMMDD-HHMM.rar, and send them to a...
-
tomado de: http://el-directorio.org/ErroresComunesPhpmyadmin ARREGLAR ERROR 1045 (28000): Access denied for user 'root'@'localho...
-
Styling Excel cells with mso-number-format mso-number-format:"0" NO Decimals mso-number-format:...