pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: pgsql-sql@postgresql.org
Subject: Re: Deferrable NOT NULL REFERENCES ... for two-way referential relationship
Date: Tue, 25 Mar 2008 11:07:38 -0400
Message-ID: <20511.1206457658@sss.pgh.pa.us> (raw)
In-Reply-To: <47E8AFDE.1080905@postnewspapers.com.au>
References: <47E8AFDE.1080905@postnewspapers.com.au>

Craig Ringer <craig@postnewspapers.com.au> writes:
> There are constraint triggers:
> http://www.postgresql.org/docs/8.3/static/sql-createconstraint.html
> and I could use one to enforce the NOT NULL on the table as a whole (at
> an acceptable cost in this case). However, I've seen some posts like
> this one:
> http://archives.postgresql.org/pgsql-hackers/2005-01/msg00882.php
> that suggest that constraint triggers are or have been deprecated.
> However, their removal is no longer on the TODO as far as I can tell.

Yeah, there is no longer any thought of removing them.

			regards, tom lane



view thread (3+ messages)

Message-ID: <20511.1206457658@sss.pgh.pa.us>
Permalink:  ../20511.1206457658@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20511.1206457658@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, craig@postnewspapers.com.au
  Subject: Re: Deferrable NOT NULL REFERENCES ... for two-way referential relationship
  In-Reply-To: <20511.1206457658@sss.pgh.pa.us>

* 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