Re: Bug in pg_describe_object

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in pg_describe_object
Дата
Msg-id 17558.1294758723@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug in pg_describe_object  (Joel Jacobson <joel@gluefinance.com>)
Ответы Re: Bug in pg_describe_object  (Joel Jacobson <joel@gluefinance.com>)
Re: Bug in pg_describe_object  (Florian Pflug <fgp@phlo.org>)
Список pgsql-hackers
Joel Jacobson <joel@gluefinance.com> writes:
> I instead propose we introduce a new function named
> pg_get_object_unique_identifier( classid oid, objid oid, objsubid
> integer ) returns text.

Seems like concatenating the OIDs would accomplish that.  (If you
think not, well, you still haven't explained what problem you're trying
to solve...)

> The name would make sense since we already have a
> pg_get_function_identity_arguments( func_oid ), for a similar purpose
> but solely for functions.

No, that does not exist for the purpose you claim it does.  And it's far
from obvious what the extension of that to all object classes would
look like.
        regards, tom lane


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

Предыдущее
От: Jan Urbański
Дата:
Сообщение: Re: autogenerating error code lists (was Re: [COMMITTERS] pgsql: Add foreign data wrapper error code values for SQL/MED.)
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Bug in pg_describe_object