pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sheetal <sheetal@anantinfotech.com>
To: pgsql-general@postgresql.org
Subject: Help...
Date: Wed, 5 Jun 2002 13:06:36 -0700
Message-ID: <001801c20ccc$80b989e0$2264a8c0@sheetal> (raw)

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?

        

view thread (69+ messages)  latest in thread

Message-ID: <001801c20ccc$80b989e0$2264a8c0@sheetal>
Permalink:  ../001801c20ccc$80b989e0$2264a8c0@sheetal/
Also on:    postgresql.org/message-id/001801c20ccc$80b989e0$2264a8c0@sheetal

 · 

reply

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-general@postgresql.org
  Cc: sheetal@anantinfotech.com
  Subject: Re: Help...
  In-Reply-To: <001801c20ccc$80b989e0$2264a8c0@sheetal>
  References: <001801c20ccc$80b989e0$2264a8c0@sheetal>

* 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