Re: DISCARD ALL failing to acquire locks on pg_listen

From: Matteo Beccati <php(at)beccati(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Postgres Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: DISCARD ALL failing to acquire locks on pg_listen
Date: 2009-02-12 19:18:31
Message-ID: 49947607.7020609@beccati.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane ha scritto:
> Matteo Beccati <php(at)beccati(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-02-12 19:19:40 Re: GIN fast insert
Previous Message Michael Glaesemann 2009-02-12 19:16:39 Re: pg_restore --multi-thread