Re: Bug in pg_describe_object

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug in pg_describe_object
Дата
Msg-id 19441.1294764192@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bug in pg_describe_object  (Joel Jacobson <joel@gluefinance.com>)
Ответы Re: Bug in pg_describe_object  (Andreas Karlsson <andreas@proxel.se>)
Список pgsql-hackers
Joel Jacobson <joel@gluefinance.com> writes:
> 2011/1/11 Tom Lane <tgl@sss.pgh.pa.us>:
>> 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 can be different in two different databases sharing the same
> original schema, but of two different versions.
> In this case it is better to compare textual strings describing the
> objects than to compare based on oids.

If that's what you're after, getObjectDescription is entirely
unsuitable, because of the fact that its results are dependent
on search path and language settings.
        regards, tom lane


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

Предыдущее
От: Joel Jacobson
Дата:
Сообщение: Re: pg_depend explained
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_depend explained