Re: libpq: possible to get list of tables, fields, and types? - Mailing list pgsql-general

From William WAISSE
Subject Re: libpq: possible to get list of tables, fields, and types?
Date
Msg-id 200201021054.g02AsW653219@smtp2.cluster.oleane.net
Whole thread Raw
In response to Re: libpq: possible to get list of tables, fields, and types?  (Tommi Mäkitalo <t.maekitalo@epgmbh.de>)
List pgsql-general
>   select relname, attname, atttypid, attlen from pg_attribute join
> pg_class on attrelid = pg_class.oid

 This gives all the attributes of a given table, but I couldn't find any join
giving all the tables of a particular database ( no dboid in pg_class ).

 Did someone here found this kind of join ?

--
cordialement,  William WAISSE fpr = 9CCD 7DA2 7050 8805 F471  03D1 DF76 B78C
690B 4E07
  --
Computers are like air conditionners. They work better when you close windows.
  --
Visitez donc mon site perso (version 0.4 du 29/05/2001) :
http://www.neofutur.net
  --
Vous habitez dans l'Essonne et vous aimez les Pingouins ???
visitez donc la GAULE(=LUG91) : http://www.gaule.org
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/MU d- s: a- C++++ UL+++ P+ L++++ E--- W++ N o-- K- w---
O- M- V- PS+ PE-- Y++ PGP++ t+ 5 X++ R++ tv- b+++ DI- D G e++ h* r++ y+++
------END GEEK CODE BLOCK------

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: plpgsql and rowtypes
Next
From: Mark Rae
Date:
Subject: Possible bug with shared memory buffers