On Sun, Sep 03, 2017 at 05:37:57PM -0500, Nico Williams wrote: > What would it take to have pqasyncnotifier [0] adopted by PostgreSQL? Maybe it should be named pqasynclisterner. A \wait command for psql could do the same thing. I could probably write such a patch at some point if there's interest, something like: \wait [[N] [statement]] that waits for N NOTIFYies (or forever if N is -1), perhaps always printing the payload, but with newlines escaped (or truncated at newlines) to avoid needing options, and runs a statement if provided. Nico -- -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general