| From: | Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com> |
|---|---|
| To: | "rcolmegna(at)tiscali(dot)it" <rcolmegna(at)tiscali(dot)it> |
| Cc: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: R: R: Re: schema inspection |
| Date: | 2006-03-17 09:48:27 |
| Message-ID: | Pine.LNX.4.44.0603171144370.27220-100000@matrix.gatewaynet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
O rcolmegna(at)tiscali(dot)it έγραψε στις Mar 16, 2006 :
> > pg_catalog.pg_constraint is your (only?) friend.
>
> I have already examintated this table without results. Seem not to be
> a "human-readable" table .... :(
Right you will have to join against pg_class,
and make it readable.
SELECT c1.relname,c2.relname from pg_constraint cons,pg_class c1, pg_class
c2 where cons.conrelid=c1.oid and cons.confrelid = c2.oid;
for column(s) names you will have to do extra homework.
>
> TIA
> Roberto Colmegna
>
>
>
>
>
> Tiscali ADSL 4 Mega Flat
> Naviga senza limiti con l'unica Adsl a 4 Mega di velocitΓ a soli 19,95 β¬ al mese!
> Attivala subito e hai GRATIS 2 MESI e l'ATTIVAZIONE.
> http://abbonati.tiscali.it/banner/middlepagetracking.html?c=webmailadsl&r=http://abbonati.tiscali.it/adsl/sa/4flat_tc/&a=webmail&z=webmail&t=14
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
-Achilleus
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Achilleus Mantzios | 2006-03-17 10:21:34 | Re: R: Re: R: R: Re: schema inspection |
| Previous Message | rcolmegna@tiscali.it | 2006-03-17 09:38:06 | R: Re: R: Re: R: R: Re: schema inspection |