The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Lkvaiw
By Guest on 14th November 2022 05:19:41 AM | Syntax: TEXT | Views: 17



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. SELECT pid, age(clock_timestamp(), query_start), usename, query
  2. FROM pg_stat_activity
  3. WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%'
  4. ORDER BY query_start desc;



  • Recent Pastes