pspg
« Back to VersTracker
Description:
Unix pager optimized for psql
Type: Formula  |  Latest Version: 5.8.13@0  |  Tracked Since: Dec 18, 2025
Links: Homepage  |  formulae.brew.sh
Category: Databases
Tags: postgresql pager cli database terminal
Install: brew install pspg
About:
pspg is a Unix pager specifically designed for viewing tabular data from PostgreSQL and other SQL databases. It provides a spreadsheet-like interface with robust navigation, sorting, and export capabilities directly within the terminal. This tool significantly enhances the psql experience by offering better visualization and interaction with query results.
Key Features:
  • Spreadsheet-like navigation and cursor movement
  • Support for exporting data to various formats (CSV, SQL, etc.)
  • Advanced sorting and filtering options
  • Theme support for customized visual appearance
  • Clipboard integration for easy data copying
Use Cases:
  • Viewing large PostgreSQL query results in an organized manner
  • Analyzing and sorting database tables directly from the command line
  • Exporting query output to CSV or SQL for data migration
Alternatives:
  • psql – psql is the standard PostgreSQL interactive terminal; pspg acts as a dedicated pager for psql output with superior navigation and formatting.
  • less – less is a general-purpose Unix pager; pspg provides specialized features for handling tabular data, such as column alignment and sorting.
Version History
Detected Version Rev Change Commit
Dec 18, 2025 5:16am 5.8.13 0 VERSION_BUMP 7d6265dc
Sep 16, 2025 3:05pm 0 VERSION_BUMP 6f264be9
Sep 27, 2024 7:05am 0 VERSION_BUMP c3a4a482
Sep 27, 2024 6:48am 0 VERSION_BUMP 684317b1