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

From Hiroshi Inoue
Subject Re: Isn't init_irels() dangerous ?
Date
Msg-id 3A566DB4.64C0F8F2@tpf.co.jp
Whole thread Raw
In response to Isn't init_irels() dangerous ?  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
List pgsql-hackers
Tom Lane wrote:
> 
> 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?
>

It would only need to change a few lines.
OK, I will do it. 

Regards.
Hiroshi Inoue


pgsql-hackers by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: bootstrap tables
Next
From: Peter Eisentraut
Date:
Subject: Re: bootstrap tables