Re: How can I find a schema that a table belong to? - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: How can I find a schema that a table belong to?
Date
Msg-id ih75g7$qe6$1@dough.gmane.org
Whole thread Raw
In response to How can I find a schema that a table belong to?  (Jerry LeVan <jerry.levan@gmail.com>)
Responses Re: How can I find a schema that a table belong to?
List 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 by date:

Previous
From: Jerry LeVan
Date:
Subject: How can I find a schema that a table belong to?
Next
From: Esmin Gracic
Date:
Subject: get referential values