Re: UPDATE bug in PostgreSQL-7.1.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: barancev(at)kazbek(dot)ispras(dot)ru
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: UPDATE bug in PostgreSQL-7.1.3
Date: 2001-11-14 20:52:26
Message-ID: 8006.1005771146@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Alexei Barantsev" <barancev(at)kazbek(dot)ispras(dot)ru> writes:
> UPDATE buggy SET field1 = field1+1;
> psql:/home/barancev/tmp/pg_bug.sql:17: ERROR: Cannot insert a duplicate key
> into unique index buggy_field1_key

Unfortunately, that's never worked, as our unique constraints are tested
immediately not at end of statement. 7.0 is certainly no better about
it than 7.1...

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-11-14 21:55:09 Re: time's running short for you to reserve 5432/tcp!!!!
Previous Message Bruce Momjian 2001-11-14 20:41:42 Re: Documentation nits