{"Entry":{"collection":"func","key":"pg-notification-queue-usage","name":"pg_notification_queue_usage","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"9.5","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.6"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"2a633f54253c788726eaf32e9f3bb210b50bc6a611077b3cad28c30619124adb","first_version":"9.6","group":"info","group_label":"System Information Functions And Operators","groups":["info"],"imported_at":"2026-09-27T17:57:29.273857+08:00","last_version":"20","name":"pg_notification_queue_usage","name_key":"pg_notification_queue_usage","position":28091,"present_in":["9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"pg_notification_queue_usage () → double precision","signature_count":1,"slug":"pg-notification-queue-usage","source_rev":"b7bd9cda","summary":"Returns the fraction (0–1) of the asynchronous notification queue's maximum size that is currently occupied by notifications that are waiting to be processed.","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-notification-queue-usage","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-notification-queue-usage","SourceRevision":"b7bd9cda","Facts":{"description":"Returns the fraction (0–1) of the asynchronous notification queue's maximum size that is currently occupied by notifications that are waiting to be processed. See LISTEN and NOTIFY for more information.","description_html":"Returns the fraction (0–1) of the asynchronous notification queue's maximum size that is currently occupied by notifications that are waiting to be processed. See \u003ca href=\"/docs/18/sql-listen.html\" title=\"LISTEN\"\u003e\u003cspan class=\"refentrytitle\"\u003eLISTEN\u003c/span\u003e\u003c/a\u003e and \u003ca href=\"/docs/18/sql-notify.html\" title=\"NOTIFY\"\u003e\u003cspan class=\"refentrytitle\"\u003eNOTIFY\u003c/span\u003e\u003c/a\u003e for more information.","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","slug":"18"},"group":"info","group_label":"System Information Functions And Operators","lang":"en","layout":"table-new","pages":["functions-info.html"],"prose_only":false,"signatures":[{"description":"Returns the fraction (0–1) of the asynchronous notification queue's maximum size that is currently occupied by notifications that are waiting to be processed. See LISTEN and NOTIFY for more information.","description_html":"Returns the fraction (0–1) of the asynchronous notification queue's maximum size that is currently occupied by notifications that are waiting to be processed. See \u003ca href=\"/docs/18/sql-listen.html\" title=\"LISTEN\"\u003e\u003cspan class=\"refentrytitle\"\u003eLISTEN\u003c/span\u003e\u003c/a\u003e and \u003ca href=\"/docs/18/sql-notify.html\" title=\"NOTIFY\"\u003e\u003cspan class=\"refentrytitle\"\u003eNOTIFY\u003c/span\u003e\u003c/a\u003e for more information.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_notification_queue_usage\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"pg_notification_queue_usage () → double precision","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-INFO-SESSION-TABLE","file":"functions-info.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-notification-queue-usage","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_notification_queue_usage","Summary":"返回待处理通知当前占用的空间占异步通知队列最大容量的比例（0–1）。更多信息请参见LISTEN和NOTIFY。","BodyHTML":"返回待处理通知当前占用的空间占异步通知队列最大容量的比例（0–1）。更多信息请参见\u003ca href=\"/docs/18/sql-listen.html\" title=\"LISTEN\" rel=\"nofollow\"\u003e\u003cspan\u003eLISTEN\u003c/span\u003e\u003c/a\u003e和\u003ca href=\"/docs/18/sql-notify.html\" title=\"NOTIFY\" rel=\"nofollow\"\u003e\u003cspan\u003eNOTIFY\u003c/span\u003e\u003c/a\u003e。\u003cpre\u003epg_notification_queue_usage () → double precision\u003c/pre\u003e返回待处理通知当前占用的空间占异步通知队列最大容量的比例（0–1）。更多信息请参见\u003ca href=\"/docs/18/sql-listen.html\" title=\"LISTEN\" rel=\"nofollow\"\u003e\u003cspan\u003eLISTEN\u003c/span\u003e\u003c/a\u003e和\u003ca href=\"/docs/18/sql-notify.html\" title=\"NOTIFY\" rel=\"nofollow\"\u003e\u003cspan\u003eNOTIFY\u003c/span\u003e\u003c/a\u003e。","SourceRevision":"ca936764","ContentHash":"977be38eebd9ee2f72eca0297134586726d75b58119759d964fa58813cb9e882","Payload":{"description_zh":"返回待处理通知当前占用的空间占异步通知队列最大容量的比例（0–1）。更多信息请参见LISTEN和NOTIFY。","description_zh_html":"返回待处理通知当前占用的空间占异步通知队列最大容量的比例（0–1）。更多信息请参见\u003ca href=\"/docs/18/sql-listen.html\" title=\"LISTEN\"\u003e\u003cspan class=\"refentrytitle\"\u003eLISTEN\u003c/span\u003e\u003c/a\u003e和\u003ca href=\"/docs/18/sql-notify.html\" title=\"NOTIFY\"\u003e\u003cspan class=\"refentrytitle\"\u003eNOTIFY\u003c/span\u003e\u003c/a\u003e。","signatures":[{"description_zh":"返回待处理通知当前占用的空间占异步通知队列最大容量的比例（0–1）。更多信息请参见LISTEN和NOTIFY。","description_zh_html":"返回待处理通知当前占用的空间占异步通知队列最大容量的比例（0–1）。更多信息请参见\u003ca href=\"/docs/18/sql-listen.html\" title=\"LISTEN\"\u003e\u003cspan class=\"refentrytitle\"\u003eLISTEN\u003c/span\u003e\u003c/a\u003e和\u003ca href=\"/docs/18/sql-notify.html\" title=\"NOTIFY\"\u003e\u003cspan class=\"refentrytitle\"\u003eNOTIFY\u003c/span\u003e\u003c/a\u003e。","returns":"double precision","text":"pg_notification_queue_usage () → double precision","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"0eb87adc22abb1046eacc550f6a79601438e6a3eea51c6b0813087d279733426","Text":"pg_notification_queue_usage () → double precision","Returns":"double precision","Payload":{"description":"Returns the fraction (0–1) of the asynchronous notification queue's maximum size that is currently occupied by notifications that are waiting to be processed. See LISTEN and NOTIFY for more information.","description_html":"Returns the fraction (0–1) of the asynchronous notification queue's maximum size that is currently occupied by notifications that are waiting to be processed. See \u003ca href=\"/docs/18/sql-listen.html\" title=\"LISTEN\"\u003e\u003cspan class=\"refentrytitle\"\u003eLISTEN\u003c/span\u003e\u003c/a\u003e and \u003ca href=\"/docs/18/sql-notify.html\" title=\"NOTIFY\"\u003e\u003cspan class=\"refentrytitle\"\u003eNOTIFY\u003c/span\u003e\u003c/a\u003e for more information.","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_notification_queue_usage\u003c/code\u003e () → \u003ccode class=\"returnvalue\"\u003edouble precision\u003c/code\u003e","returns":"double precision","text":"pg_notification_queue_usage () → double precision","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
