I hereby claim:
- I am unnamed69 on github.
- I am ntgiang (https://keybase.io/ntgiang) on keybase.
- I have a public key ASBzZC0JCvPtTwtYqw2g3XtpNhgej2GwIFJ6MZuV4XgG8wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
/* This Source Code Form is subject to the terms of the Mozilla Public | |
* License, v. 2.0. If a copy of the MPL was not distributed with this | |
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
/* | |
* This style will hide the tab bar. For MacOS Big Sur | |
* | |
* Contributor(s): Isaac-Newt, Ivan0xFF, millerdev, AMomchilov | |
*/ |
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |