pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: mallah@trade-india.com
To: pgsql-sql@postgresql.org
Subject: simulating partial fkeys..
Date: Thu, 5 Jun 2003 20:25:32 +0530 (IST)
Message-ID: <1153.219.65.253.151.1054824932.squirrel@mail.trade-india.com> (raw)



hi ,

Is there any way to enforce fkeys only on subset of
the table something on the lines of unique partial indexes

or any work around ? (on update or insert trigger is the only thing i can think of)

regds
mallah.


-----------------------------------------
Get your free web based email at trade-india.com.
   "India's Leading B2B eMarketplace.!"
http://www.trade-india.com/





view thread (4+ messages)  latest in thread

Message-ID: <1153.219.65.253.151.1054824932.squirrel@mail.trade-india.com>
Permalink:  ../1153.219.65.253.151.1054824932.squirrel@mail.trade-india.com/
Also on:    postgresql.org/message-id/1153.219.65.253.151.1054824932.squirrel@mail.trade-india.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mallah@trade-india.com
  Subject: Re: simulating partial fkeys..
  In-Reply-To: <1153.219.65.253.151.1054824932.squirrel@mail.trade-india.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