Re: Requirements for Constraint Trigger's Function

From: Michael Glaesemann <grzm(at)seespotcode(dot)net>
To: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
Cc: General PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Requirements for Constraint Trigger's Function
Date: 2007-12-22 15:28:36
Message-ID: C81716CC-B03F-4F7A-A522-CEC55EACDD92@seespotcode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Dec 21, 2007, at 13:12 , Richard Broersma Jr wrote:

> What is the proper way for the function of a constraint trigger to
> signal where or not referential integrity was compromised?
>
> Should it return some sort of value? Should it raise an exception?

The latter.

Michael Glaesemann
grzm seespotcode net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Glaesemann 2007-12-22 15:38:56 Re: self ordering list
Previous Message Dave Page 2007-12-22 11:03:05 Re: installation on Mac OS X 10.5.1