From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: rcolmegna@tiscali.it <rcolmegna@tiscali.it>
Cc: pgsql-sql@postgresql.org
Subject: Re: R: R: Re: schema inspection
Date: Fri, 17 Mar 2006 11:48:27 +0200 (EET)
Message-ID: <Pine.LNX.4.44.0603171144370.27220-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <24440777.1142528308568.JavaMail.root@ps19>
O rcolmegna@tiscali.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.tiscal...
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>
--
-Achilleus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: achill@matrix.gatewaynet.com, rcolmegna@tiscali.it
Subject: Re: R: R: Re: schema inspection
In-Reply-To: <Pine.LNX.4.44.0603171144370.27220-100000@matrix.gatewaynet.com>
References: <24440777.1142528308568.JavaMail.root@ps19> <Pine.LNX.4.44.0603171144370.27220-100000@matrix.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox