Re: DISCARD ALL failing to acquire locks on pg_listen - Mailing list pgsql-hackers

From Matteo Beccati
Subject Re: DISCARD ALL failing to acquire locks on pg_listen
Date
Msg-id 49947607.7020609@beccati.com
Whole thread Raw
In response to Re: DISCARD ALL failing to acquire locks on pg_listen  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: DISCARD ALL failing to acquire locks on pg_listen
List pgsql-hackers
Tom Lane ha scritto:
> Matteo Beccati <php@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


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: pg_restore --multi-thread
Next
From: Tom Lane
Date:
Subject: Re: GIN fast insert