schema inspection - Mailing list pgsql-sql

From rcolmegna@tiscali.it
Subject schema inspection
Date
Msg-id 9099192.1142520951367.JavaMail.root@ps10
Whole thread Raw
Responses Re: schema inspection
List pgsql-sql
Hi,

supposing to have a small DB:

TABLE a ( id SERIAL PRIMARY KEY
);

TABLE b ( id SERIAL PRIMARY KEY, idA INTEGER NOT NULL REFERENCES a(id)
);

How can I inspect pg_schema/information_schema to "detect" the
relation between "b" and "a" via "idB"?

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


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: group by function, make SQL cleaner?
Next
From: Achilleus Mantzios
Date:
Subject: Re: schema inspection