Re: System vs non-system casts

Поиск
Список
Период
Сортировка
От Andrew - Supernews
Тема Re: System vs non-system casts
Дата
Msg-id slrnd5mbil.2ilg.andrew+nonews@trinity.supernews.net
обсуждение исходный текст
Ответ на System vs non-system casts  ("Jim C. Nasby" <decibel@decibel.org>)
Ответы Re: System vs non-system casts
Список pgsql-hackers
On 2005-04-12, Robert Treat <xzilla@users.sourceforge.net> wrote:
> One potential ugly way to do it would be to use the magical "last system oid" 
> as a differentiator between those created by pg and those created by the 
> user.  It would be different for every version so that might be a problem. 

That is what pg_dump does when talking to pre-7.2 databases. But it isn't
entirely reliable because oid wrap can allow the user to create objects
with oids < datlastsysoid. (If it was BootstrapOid you were thinking of,
that doesn't work at all because the system casts are added after the
bootstrap stage.) 

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services


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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: System vs non-system casts
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: ISO-8859-1 encoding not enforced?