Re: Re: can't delete record

From: Cedar Cox <cedarc(at)visionforisrael(dot)com>
To: Jeffrey Lyon <lyonj(at)em-systems(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Re: can't delete record
Date: 2001-03-07 15:05:41
Message-ID: Pine.LNX.4.21.0103071701470.20863-100000@nanu.visionforisrael.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


Bingo! That was it.. Thank you.

BTW, is this behavior documented (no error message)? It should be.
Even better, make plpgsql a little nicer ;)

-Cedar

On Wed, 7 Mar 2001, Jeffrey Lyon wrote:

> Do you have a trigger applied against this record on DELETE? If so, are
> you returning NEW or OLD? I think that you need to return NEW on an
> UPDATE or INSERT and an OLD on DELETE.
>
> Jeffrey

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message J. T. Vermeulen 2001-03-07 19:52:47 libpq++
Previous Message lyonj 2001-03-07 14:49:35 Re: Re: can't delete record