Re: Isn't init_irels() dangerous ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Isn't init_irels() dangerous ?
Date
Msg-id 15520.978742059@sss.pgh.pa.us
Whole thread Raw
In response to Re: Isn't init_irels() dangerous ?  (Hiroshi Inoue <Inoue@tpf.co.jp>)
List pgsql-hackers
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> Tom Lane wrote:
>> OK.  Second proposal: do the init_irels() call in
>> RelationCacheInitializePhase2().  I've just looked through the
>> other stuff that's done in between, and I don't think any of it
>> needs valid relcache entries.

> Oops, I neglected to reply "agreed", sorry.
> It would be much safer for init_irels() to be called
> in a proper transaction than the current implementation.

Fine.  Were you going to do it, or do you want me to?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: Isn't init_irels() dangerous ?
Next
From: "Ross J. Reedstrom"
Date:
Subject: Re: bootstrap tables