AW: AW: Issue NOTICE for attempt to raise lock level? - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: AW: Issue NOTICE for attempt to raise lock level?
Date
Msg-id 11C1E6749A55D411A9670001FA6879633680F5@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
List pgsql-hackers
> > In the second place, we already grab locks that we do not release till
> > end of xact for all user-level queries.  The problem is that we grab
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Even for select?

No. Tom plans to change that, and I still think this is a bad idea.

> > them too late, ie, in the executor.  I'm just planning to move up the
> > grab till first use.

This would be good.

> BTW, what about indices?

Same here, would need to be released after each readonly statement.

Andreas


pgsql-hackers by date:

Previous
From: "Mikheev, Vadim"
Date:
Subject: RE: AW: Issue NOTICE for attempt to raise lock level?
Next
From: Peter Eisentraut
Date:
Subject: Re: Issue NOTICE for attempt to raise lock level?