pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedAny patch for delete and insert same row in a function ( transaction )
4+ messages / 3 participants
[nested] [flat]
* Any patch for delete and insert same row in a function ( transaction )
@ 2001-12-05 10:37 MindTerm <mindterm@yahoo.com>
0 siblings, 3 replies; 4+ messages in thread
From: MindTerm @ 2001-12-05 10:37 UTC (permalink / raw)
To: pgsql-sql
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 ?
Thx.
M.T.
__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Any patch for delete and insert same row in a function (
@ 2001-12-05 18:14 Stephan Szabo <sszabo@megazone23.bigpanda.com>
parent: MindTerm <mindterm@yahoo.com>
2 siblings, 0 replies; 4+ messages in thread
From: Stephan Szabo @ 2001-12-05 18:14 UTC (permalink / raw)
To: MindTerm <mindterm@yahoo.com>; +Cc: 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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Any patch for delete and insert same row in a function ( transaction
@ 2001-12-05 18:16 Bruce Momjian <pgman@candle.pha.pa.us>
parent: MindTerm <mindterm@yahoo.com>
2 siblings, 0 replies; 4+ messages in thread
From: Bruce Momjian @ 2001-12-05 18:16 UTC (permalink / raw)
To: MindTerm <mindterm@yahoo.com>; +Cc: pgsql-sql
> 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
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Any patch for delete and insert same row in a function ( transaction
@ 2001-12-05 18:17 Bruce Momjian <pgman@candle.pha.pa.us>
parent: MindTerm <mindterm@yahoo.com>
2 siblings, 0 replies; 4+ messages in thread
From: Bruce Momjian @ 2001-12-05 18:17 UTC (permalink / raw)
To: MindTerm <mindterm@yahoo.com>; +Cc: pgsql-sql
> 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 ?
Sorry, I should have said this will be fixed in 7.2. You can try 7.2beta3
if you wish to test it.
--
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
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2001-12-05 18:17 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-12-05 10:37 Any patch for delete and insert same row in a function ( transaction ) MindTerm <mindterm@yahoo.com>
2001-12-05 18:14 ` Re: Any patch for delete and insert same row in a function ( Stephan Szabo <sszabo@megazone23.bigpanda.com>
2001-12-05 18:16 ` Re: Any patch for delete and insert same row in a function ( transaction Bruce Momjian <pgman@candle.pha.pa.us>
2001-12-05 18:17 ` Re: Any patch for delete and insert same row in a function ( transaction Bruce Momjian <pgman@candle.pha.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox