Received: from candle.pha.pa.us (216-55-132-35.dialup.tnt01.san-diego.abac.net [216.55.132.35]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fB5IGmm88355 for ; Wed, 5 Dec 2001 13:16:49 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id fB5IGaM23556; Wed, 5 Dec 2001 13:16:36 -0500 (EST) From: Bruce Momjian Message-Id: <200112051816.fB5IGaM23556@candle.pha.pa.us> Subject: Re: Any patch for delete and insert same row in a function ( transaction In-Reply-To: <20011205103703.71878.qmail@web20201.mail.yahoo.com> "from MindTerm at Dec 5, 2001 02:37:03 am" To: MindTerm Date: Wed, 5 Dec 2001 13:16:36 -0500 (EST) CC: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200112/52 X-Sequence-Number: 5875 > 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 is fixed in 7.2. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026