Help... - Mailing list pgsql-general

From sheetal
Subject Help...
Date
Msg-id 001801c20ccc$80b989e0$2264a8c0@sheetal
Whole thread Raw
Responses Re: Help...  (Joel Burton <joel@joelburton.com>)
List pgsql-general
Is there any table in postgres ,for eg pg_constraints, where in i can get the references for all the fields of a particular table in the data base?
Consider this..
    I have
        item master -- Item_code, Item Name
        supplier master -- supplier_code, supplier_name
        supplier_item_catalogue -- supplier_code references supplier master, item_code references item master
 
Now , if i select table supplier_item_catalogue for any reason from pg_tables, i should know that related tables item_master and supplier_master are also to be selected.
 
How can i do this using php /postgres?
 
       

pgsql-general by date:

Previous
From: "Zhou, Lixin"
Date:
Subject: a trigger question
Next
From: Gregory Seidman
Date:
Subject: Re: View vs. Statement Query Plan