Tom Lane ha scritto:
Matteo Beccati <p...@beccati.com> writes:
Seems like we could/should fix UNLISTEN * to not do anything if it is
known that the current backend never did any LISTENs.

Here's my proposed patch, both for HEAD and 8.3:

This seems a bit overcomplicated.  I had in mind something like this...

Much easier indeed... I didn't notice the unlistenExitRegistered variable.


Cheers

--
Matteo Beccati

OpenX - http://www.openx.org

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to