Re: How can I find a schema that a table belong to?

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: How can I find a schema that a table belong to?
Дата
Msg-id ih75g7$qe6$1@dough.gmane.org
обсуждение исходный текст
Ответ на How can I find a schema that a table belong to?  (Jerry LeVan <jerry.levan@gmail.com>)
Ответы Re: How can I find a schema that a table belong to?
Список pgsql-general
Jerry LeVan, 19.01.2011 17:35:
>
> So I guess the question is:
>     Given a bare table name, how can I recover the schema
>     qualified name with whatever the current search path happens
>     to be?
>

SELECT table_schema
FROM information_schema.tables
WHERE table_name = 'your_table'
;


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

Предыдущее
От: Jerry LeVan
Дата:
Сообщение: How can I find a schema that a table belong to?
Следующее
От: Esmin Gracic
Дата:
Сообщение: get referential values