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 ih7cel$37r$1@dough.gmane.org
Whole thread Raw
In response to Re: How can I find a schema that a table belong to?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane, 19.01.2011 19:19:
>> SELECT table_schema
>> FROM information_schema.tables
>> WHERE table_name = 'your_table'
>> ;
>
> That's not going to work, at least not in the interesting case where you
> have more than one candidate table --- that SELECT will list all of 'em.
>

Ah, right. I was a buit too quick with my answer.

Regards
Thomas

pgsql-general by date:

Previous
From: bubba postgres
Date:
Subject: Anyone use PG with kvm/virtio? Any gotchas or recommended settings?
Next
From: Lonni J Friedman
Date:
Subject: Re: Anyone use PG with kvm/virtio? Any gotchas or recommended settings?