Re: Guarenteeing complex referencial integrity through custom triggers

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joris Dobbelsteen" <Joris(at)familiedobbelsteen(dot)nl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Guarenteeing complex referencial integrity through custom triggers
Date: 2007-03-26 17:52:00
Message-ID: 3735.1174931520@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Joris Dobbelsteen" <Joris(at)familiedobbelsteen(dot)nl> writes:
> My intention is to expose the functionality to the outside world for
> general use. This provides means to ensure custom complex constraints
> can be enforced properly. I hope to push it into 8.3 if possible.

You are at least a month too late for 8.3, even if you had a solid
design now, which you clearly don't. Nor am I convinced that we really
want/need to support what you are talking about at the SQL level. To me,
the crosscheck stuff in the RI support is an extremely dirty hack that
might or might not be 100% correct. Exposing it to the SQL level,
and thereby committing to support it forever, seems the height of folly.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-03-26 17:55:37 Re: tsearch_core for inclusion
Previous Message Tom Lane 2007-03-26 17:45:46 Re: pg_index updates and SI invalidation