Re: Last builtin OID?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org, Denis Perchine <dyp(at)perchine(dot)com>
Subject: Re: Last builtin OID?
Date: 2000-10-21 14:00:27
Message-ID: Pine.LNX.4.21.0010211555270.825-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Philip Warner writes:

> pg_dump uses the OID of template1 as the last builtin OID, but this now
> seems broken in CVS (it returns 1). Should this work? If not, what is the
> recommended way to find the last built-in OID?

If you define the last builtin oid as the highest oid in existence after
initdb then it has always been whatever the load of pg_description at then
end leaves you with.

Perhaps you could move the CREATE TRIGGER pg_sync_pg_pwd (or something
else) to the very end to get a more predictable starting point.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2000-10-21 14:14:27 quickie patch to UnixWare Template
Previous Message Larry Rosenman 2000-10-21 13:59:56 Re: UnixWare 7.1.1b FS