SELECT pid, now() — query_start AS duration, query, state FROM pg_stat_activity;
Created
March 16, 2017 06:25
-
-
Save mgax/ca3710a97bdc7a5ce4f98443fae37d1f to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment