Re: BUG #3455: order of rows should not significant

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "YaYo" <yayooo(at)gmail(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #3455: order of rows should not significant
Date: 2007-07-17 12:00:22
Message-ID: 87r6n7s0ix.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


"YaYo" <yayooo(at)gmail(dot)com> writes:

> test=# select * from t9;
> var
> -----
> 3
> 5
> (2 rows)
>
> test=# update t9 set var=var+2;
> ERROR: duplicate key violates unique constraint "t9_var_key" /*we get the
> same conclusion*/

Sorry, Postgres does not support deferred unique constraints which is what you
would need to get this to work. This is a TODO item but nobody has indicated
they wish to (or know how to) do it yet.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2007-07-17 13:34:27 Re: BUG #3453: Error on COPY TO/FROM 'non-ascii-path'
Previous Message YaYo 2007-07-17 10:04:25 BUG #3455: order of rows should not significant