Re: regclass and search_path

Поиск
Список
Период
Сортировка
От Joe Abbate
Тема Re: regclass and search_path
Дата
Msg-id 4D82E468.3080309@freedomcircle.com
обсуждение исходный текст
Ответ на Re: regclass and search_path  (Joe Abbate <jma@freedomcircle.com>)
Список pgsql-general
HI Tom,

On 03/18/2011 12:42 AM, Joe Abbate wrote:
> For my immediate needs, the query was actually the target of a NOT IN
> subquery of a query against pg_index (trying to exclude tuples of
> indexes for UNIQUE constraints) and I've solved that by using conrelid
> in the subquery (and indrelid in the main query).  Nevertheless, I
> think regclass should probably be smarter and work with anything in
> pg_class (regardless of search_path).

On second thought, conname is just a "name", is not unique and is
lacking schema/namespace info. As you said, a thinko.

Regards,

Joe

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

Предыдущее
От: Joe Abbate
Дата:
Сообщение: Re: regclass and search_path
Следующее
От: Adarsh Sharma
Дата:
Сообщение: Convert Simple Query into tsvector & tsquery format.