Re: Any patch for delete and insert same row in a function ( - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: Any patch for delete and insert same row in a function (
Date
Msg-id 20011205101322.D16316-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Any patch for delete and insert same row in a function ( transaction )  (MindTerm <mindterm@yahoo.com>)
List pgsql-sql
On Wed, 5 Dec 2001, MindTerm wrote:

> Hi all,
>
>  Postgresql shows error message
> "triggered data change violation on relation"
>  when trying to insert and delete same row ( same
> primary key ) with in a function or transaction.
>
>  Does any solution available to solve this problem ?

This check has been taken out for 7.2.  In the meantime
you can probably just comment out the lines that do the
error in backend/commands/trigger.c



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Memory exhausted in AllocSetAlloc(269039)
Next
From: Bruce Momjian
Date:
Subject: Re: Any patch for delete and insert same row in a function ( transaction