From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add new function pg_notification_queue_usage. |
Date: | 2015-07-17 13:13:42 |
Message-ID: | E1ZG5SQ-0007Nx-VI@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/a04bb65f70dafdf462e0478ad19e6de56df89bfc
Modified Files
--------------
doc/src/sgml/func.sgml | 19 ++++++++--
doc/src/sgml/ref/notify.sgml | 5 +++
src/backend/commands/async.c | 50 ++++++++++++++++++++------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 4 +++
src/include/commands/async.h | 1 +
src/test/isolation/expected/async-notify.out | 17 +++++++++
src/test/isolation/specs/async-notify.spec | 14 ++++++++
src/test/regress/expected/async.out | 8 +++++
src/test/regress/sql/async.sql | 4 +++
10 files changed, 110 insertions(+), 14 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2015-07-17 14:16:21 | Re: pgsql: Retain comments on indexes and constraints at ALTER TABLE ... TY |
Previous Message | Noah Misch | 2015-07-17 07:13:48 | pgsql: AIX: Test the -qlonglong option before use. |