Re: obj_unique_identifier(oid)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: obj_unique_identifier(oid)
Дата
Msg-id 28358.1294429588@sss.pgh.pa.us
обсуждение исходный текст
Ответ на obj_unique_identifier(oid)  (Joel Jacobson <joel@gluefinance.com>)
Ответы Re: obj_unique_identifier(oid)  (Joel Jacobson <joel@gluefinance.com>)
Re: obj_unique_identifier(oid)  (Jim Nasby <jim@nasby.net>)
Re: obj_unique_identifier(oid)  (Joel Jacobson <joel@gluefinance.com>)
Список pgsql-hackers
Joel Jacobson <joel@gluefinance.com> writes:
> The function obj_unique_identifier(oid) will return a unique name for _any_ oid.

Surely this is broken by design?  You can *not* assume that the same OID
isn't in use for different things in different system catalogs.  They're
only guaranteed unique within a catalog.  That's the main reason why
pg_depend has to include the classid.
        regards, tom lane


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: system views for walsender activity
Следующее
От: Tom Lane
Дата:
Сообщение: Re: system views for walsender activity