-
OpenTable
- Australia
Pinned Loading
-
Useful PostgreSQL Queries and Commands
Useful PostgreSQL Queries and Commands 1-- show running queries (pre 9.2)
2SELECT procpid, age(clock_timestamp(), query_start), usename, current_query
3FROM pg_stat_activity
4WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%'
5ORDER BY query_start desc;
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.