From: | Andreas Schmitz <andreas(dot)schmitz(at)as-dataservice(dot)de> |
---|---|
To: | Ian Barwick <barwick(at)gmx(dot)net> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: UPDATE has a bug to update tables with an index of 2 columns |
Date: | 2003-05-17 07:38:10 |
Message-ID: | 3EC5E6E2.8070802@as-dataservice.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Ian Barwick wrote:
>I would contend this is not a bug but a feature (or at most
>not-yet-implemented functionality, i.e. no ability to defer
>constraints other than foreign keys).
>
>
Oh, I don't think so, because when I use some complex WHERE clause the
statements don't use the index uq_test (EXPLAIN...) and it works find.
This Statement works also fine:
update test2 set v1=0 where v1=0;
And therefor, I think this is a bug.
>A possible workaround would be to create a trigger which
>enforces the constraint.
>
>
What do you mean with enforces the constraint? Sorry, I can't follow
you. Can you describe, how I enforce the Constraint?
Thanx a lot.
Best regards
--
Andreas Schmitz
AS-DataService <http://www.as-dataservice.de>
Kastanienallee 24
D-54662 Speicher
Tel.: (0 65 62) 93 05 17
Fax: (0 65 62) 93 05 18
Email: andreas(dot)schmitz(at)as-dataservice(dot)de
<mailto:andreas(dot)schmitz(at)as-dataservice(dot)de>
Ust-IdNr.: DE211466407
Handelsregister: HRA 1869 - Amtsgericht Bitburg
<http://www.as-dataservice.de>
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2003-05-17 16:15:09 | Re: UPDATE has a bug to update tables with an index of 2 |
Previous Message | Ian Barwick | 2003-05-16 22:57:35 | Re: UPDATE has a bug to update tables with an index of 2 columns |