Re: [HACKERS] Sequence nexvtal() and initdb/pg_proc problem

From: Ole Gjerde <gjerde(at)icebox(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Sequence nexvtal() and initdb/pg_proc problem
Date: 1999-05-24 06:48:07
Message-ID: Pine.LNX.4.05.9905240142410.6022-100000@snowman.icebox.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 23 May 1999, Tom Lane wrote:
[snip - nextval problem]
> Can't duplicate that here --- but it might well be related to your
> busted pg_proc table ...

Indeed that was the problem.

> But evidently that's not always true during initdb. You must be running
> with a very low value of RELSEG_SIZE to have precipitated such a
> problem, however.

Yes, I removed one too many 0's from RELSEG_SIZE to do some testing.
I usually set it to 0x200000 / BLCKSZ for testing segment related things.

> Reasonable fixes would be either to force the appropriate cd during
> initdb, or to find and fix the place that's touching extension segments
> using a relative pathname. But I can't get excited about spending much
> time on it, since the problem will never arise at realistic RELSEG_SIZE
> settings...

It's definately not worth the time right now. I will probably take a
look at this in couple of weeks, since it probably should be checked.

Thanks,
Ole Gjerde

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 1999-05-24 07:52:55 Re: Vacuum/mdtruncate() (was: RE: [HACKERS] Current TODO list)
Previous Message Ole Gjerde 1999-05-24 06:42:10 Vacuum/mdtruncate() (was: RE: [HACKERS] Current TODO list)