Re: [bugfix] DISCARD ALL does not release advisory locks - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [bugfix] DISCARD ALL does not release advisory locks
Date
Msg-id 24402.1227662568@sss.pgh.pa.us
Whole thread Raw
In response to Re: [bugfix] DISCARD ALL does not release advisory locks  ("Merlin Moncure" <mmoncure@gmail.com>)
Responses Re: [bugfix] DISCARD ALL does not release advisory locks
List pgsql-hackers
"Merlin Moncure" <mmoncure@gmail.com> writes:
> On Mon, Nov 24, 2008 at 10:25 AM, Marko Kreen <markokr@gmail.com> wrote:
>> IOW, DISCARD ALL should be functionally equivalent to backend exit.

> Having done a lot of work with advisory locks, I support this change.
> Advisory locks are essentially session scoped objects like prepared
> statements or notifies.  It's only natural to clean them up in the
> same way.

> That said, I don't think this should be backpatched to 8.3.

Done but not back-patched.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Re: Simple postgresql.conf wizard
Next
From: Tom Lane
Date:
Subject: Re: Simple postgresql.conf wizard