forked from munakoiso/logerrors
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Anton Gorokhov
committed
Jun 18, 2020
1 parent
1a5e0b7
commit 66f51e4
Showing
3 changed files
with
99 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CREATE FUNCTION pg_slow_log_stats( | ||
OUT slow_count integer, | ||
OUT reset_time timestamp | ||
) | ||
RETURNS SETOF record | ||
AS 'MODULE_PATHNAME', 'pg_slow_log_stats' | ||
LANGUAGE C STRICT; | ||
GRANT ALL ON FUNCTION pg_slow_log_stats() TO public; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters