| From: | Gilles DAROLD <gilles(at)darold(dot)net> |
|---|---|
| To: | |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: View tables relationship |
| Date: | 2001-01-16 18:30:37 |
| Message-ID: | 3A64934D.465E6A63@darold.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
This question have been posted recently, please take a look to archive.
I use this very simple query :
SELECT a.tgargs
FROM pg_class c, pg_trigger a
WHERE a.tgname LIKE 'RI_ConstraintTrigger_%' AND c.relname='$table' AND
a.tgrelid = c.oid
Regards,
Gilles DAROLD
riccardo wrote:
> Hi.
> I have a big problem with postgres because I need to know how I can see the
> relations among the table like foreign-key.
> It' s possible use some commands or graphic tool from wich I can see that
> relations?
> Do you know some sites where i can found more information about this!
>
> Thank you very much,
> and exuse me for my bad English!
>
> Fabio
| From | Date | Subject | |
|---|---|---|---|
| Next Message | The Hermit Hacker | 2001-01-16 18:39:56 | CASE inet << inet ... |
| Previous Message | Robert E. Bruccoleri | 2001-01-16 18:27:28 | Performance degradation in PostgreSQL 7.1beta3 vs 6.5.3 |