Re: newbie needs help with postgres internal tables

From: Antonio Sergio de Mello e Souza <asergioz(at)bol(dot)com(dot)br>
To: William WAISSE <wwaisse(at)esprit-equipe(dot)fr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: newbie needs help with postgres internal tables
Date: 2001-11-24 00:36:42
Message-ID: 3BFEEB9A.3000205@bol.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Neil Zanella 2001-11-24 01:29:58 Re: checking date format with postgresql without creating
Previous Message William WAISSE 2001-11-24 00:21:24 Re: newbie needs help with postgres internal tables