| From: | William WAISSE <wwaisse(at)esprit-equipe(dot)fr> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: libpq: possible to get list of tables, fields, and types? |
| Date: | 2002-01-02 10:54:31 |
| Message-ID: | 200201021054.g02AsW653219@smtp2.cluster.oleane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2002-01-02 12:24:01 | Re: PostgreSQL GUI |
| Previous Message | Dave Trombley | 2002-01-02 05:51:36 | Re: plpgsql and rowtypes |