Re: Isn't init_irels() dangerous ?

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Isn't init_irels() dangerous ?
Date: 2001-01-06 00:58:28
Message-ID: 3A566DB4.64C0F8F2@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Pilosov 2001-01-06 01:38:30 Re: SHM ids (was running pgsql 7 under Jail'ed virtual machine on FreeBSD 4.2)
Previous Message Ross J. Reedstrom 2001-01-06 00:48:10 Re: bootstrap tables