Re: [PATCH] Function to get size of asynchronous notification queue - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: [PATCH] Function to get size of asynchronous notification queue
Date
Msg-id CADxJZo1aHvDAFTtSmymmwSvB0-w4o=HNf=s+=Z2-cSsMW_O3Ag@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Function to get size of asynchronous notification queue  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: [PATCH] Function to get size of asynchronous notification queue  (Brendan Jurd <direvus@gmail.com>)
List pgsql-hackers
On Thu, 18 Jun 2015 at 08:19 Merlin Moncure <mmoncure@gmail.com> wrote:

scratch that.  that note already exists in sql-notify.html.  Instead,
I'd modify that section to note that you can check queue usage with
your new function.


I have already done so.  Under the paragraph about the queue filling up, I have added:

"The function <function>pg_notify_queue_saturation</function> returns the proportion of the queue that is currently occupied by pending notifications."

A link from here back to the section in System Information Functions might be sensible?

I will rename the function with _usage as you suggest, and add the explanation of the return value in the docs.

Cheers,
BJ

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: "could not adopt C locale" failure at startup on Windows
Next
From: "Joshua D. Drake"
Date:
Subject: Re: 9.5 make world failing due to sgml tools missing