mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Add new function pg_notification_queue_usage.
This tells you what fraction of NOTIFY's queue is currently filled. Brendan Jurd, reviewed by Merlin Moncure and Gurjeet Singh. A few further tweaks by me.
This commit is contained in:
@@ -37,6 +37,7 @@ extern void Async_UnlistenAll(void);
|
||||
/* notify-related SQL functions */
|
||||
extern Datum pg_listening_channels(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_notify(PG_FUNCTION_ARGS);
|
||||
extern Datum pg_notification_queue_usage(PG_FUNCTION_ARGS);
|
||||
|
||||
/* perform (or cancel) outbound notify processing at transaction commit */
|
||||
extern void PreCommit_Notify(void);
|
||||
|
||||
Reference in New Issue
Block a user