pspg

Unix pager optimized for psql with advanced navigation and search

brewmacoslinux
Try with needOr install directly
Source

About

Unix pager optimized for psql

Commands

pspg

Examples

Pipe psql query output to pspg for formatted viewing$ psql -U user -d database -c "SELECT * FROM table;" | pspg
View a CSV file with pspg formatting$ pspg -f data.csv
Use pspg as the PAGER for psql automatically$ PAGER=pspg psql -U user -d database