Re: relation ### modified while in use - Mailing list pgsql-hackers

From Tom Lane
Subject Re: relation ### modified while in use
Date
Msg-id 8151.972310413@sss.pgh.pa.us
Whole thread Raw
In response to Re: relation ### modified while in use  (Hiroshi Inoue <Inoue@tpf.co.jp>)
List pgsql-hackers
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> I'm not sure about the use of AccessShareLock in parse-analyze-
> optimize phase however.

That's something we'll have to clean up while fixing this.  Currently
the system may acquire and release AccessShareLock multiple times while
parsing/rewriting/planning.  We need to make sure that an appropriate
lock is grabbed at *first* use and then held.

Should save a few cycles as well as being more correct ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: M.Feldtmann@t-online.de (Marten Feldtmann)
Date:
Subject: Re: INHERITS doesn't offer enough functionality
Next
From: Peter Eisentraut
Date:
Subject: Re: [COMMITTERS] pgsql/src/pl/plpgsql/test (runtest triggers.sql mklang.sql)