Re: Last builtin OID?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Last builtin OID?
Дата
Msg-id Pine.LNX.4.21.0010211555270.825-100000@peter.localdomain
обсуждение исходный текст
Ответ на Last builtin OID?  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: Last builtin OID?  (Philip Warner <pjw@rhyme.com.au>)
Re: Last builtin OID?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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@gmx.net       http://yi.org/peter-e/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Marko Kreen
Дата:
Сообщение: Re: [ANNC][RFC] crypto hashes for PostgreSQL 7.0, 7.1
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: UnixWare 7.1.1b FS