]> granicus.if.org Git - postgresql/commit
Add new function pg_notification_queue_usage.
authorRobert Haas <rhaas@postgresql.org>
Fri, 17 Jul 2015 13:12:03 +0000 (09:12 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 17 Jul 2015 13:12:03 +0000 (09:12 -0400)
commita04bb65f70dafdf462e0478ad19e6de56df89bfc
treef2095d72b0851f23d12ab03dc9f243c50dcd889a
parent43d89a23d59c487bc9258fad7a6187864cb8c0c0
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.
doc/src/sgml/func.sgml
doc/src/sgml/ref/notify.sgml
src/backend/commands/async.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/commands/async.h
src/test/isolation/expected/async-notify.out [new file with mode: 0644]
src/test/isolation/specs/async-notify.spec [new file with mode: 0644]
src/test/regress/expected/async.out
src/test/regress/sql/async.sql