PostgreSQL

View wide tables with psql

Jan 1, 2024

When making a query with lots of columns, it can become so wide that it wraps, making the results incredibly difficult to read. To combat this, you …

#PostgreSQL

Monitor running queries

Oct 7, 2020

View a list of running queries: SELECT datname, pid, usename, client_addr, client_port, xact_start, backend_start, query_start, state, query FROM …

#PostgreSQL