Re: newbie needs help with postgres internal tables - Mailing list pgsql-general

From Antonio Sergio de Mello e Souza
Subject Re: newbie needs help with postgres internal tables
Date
Msg-id 3BFEEB9A.3000205@bol.com.br
Whole thread Raw
In response to newbie needs help with postgres internal tables  (William WAISSE <wwaisse@esprit-equipe.fr>)
List pgsql-general
William WAISSE wrote:

>
>Le Friday 23 November 2001 12:23, Tom Lane a écrit :
>
>>See the "system catalogs" chapter of the developer's guide.  It's a bit
>>terse but I believe the information you mention above is all stated at,
>>eg,
>>http://candle.pha.pa.us/main/writings/pgsql/sgml/catalog-pg-attribute.html
>>
> hum, now I looked at those catalogs, I'm nearly sure there is no id in
>pg_database that would allow me to select all the tables ( class ) that
>belong to a particular database.
>
> Whereas it's possible to find all the fields in a table ).
>
> This seems to me impossible !
>

Hi,

If you set the ECHO_HIDDEN variable in psql, or start psql with the -E
option, you'll see the queries used by commands like \dt and others. You
could emulate then in your application.

Regards,

Antonio Sergio


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: enable_nestloop
Next
From: culley
Date:
Subject: implicit analyze on vacuum?