DEV Community

Tim Bogdanov
Tim Bogdanov

Posted on

Better postgres tables in iterm2

Does anyone know if there is a way to make the psql tables in iterm2 a bit more detailed?

For example, when selecting data, the rows that have no value just show up as empty cells.

Top comments (2)

Collapse
 
dmfay profile image
Dian Fay •

The null display value is configurable. You can issue this command in psql itself or put it in ~/.psqlrc:

\pset null '(null)'

Also, everybody should be using pspg.

Collapse
 
timbog80 profile image
Tim Bogdanov •

came up with pgcli