Psql Command with Tuples Only

List roles of postgres users

If you are parsing a result, the headers can get in the way. This is where the \t (tuples only) flag is useful:

Notice the headers and row count are gone. Toggle this in a psql session with the \t command.

Tuple only… PostgreSQL command

Category: Notes
1631 views