Re: Bug in UPDATE statement

From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: Moisés Limón <neomega(at)yahoo(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: Bug in UPDATE statement
Date: 2022-09-10 12:21:06
Message-ID: YxyBMoBUY2+0dMQZ@ahch-to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sat, Sep 10, 2022 at 01:44:40AM -0500, Moisés Limón wrote:
> Hello,
>
> PostgreSQL 14.4 compiled by Visual C++ build 1914, 64 bit
>
> A bug was found in the UPDATE statement when the WHERE condition hasn't valid fields and only one valid field, the changes are applied for all rows.
> Error detected using a Function with an UPDATE statement.
>
> Moisés Limón Ruiz

Hi Moisés,

Can you give a complete example of what you are describing (at least a
create table command, insert some rows and an UPDATE with the behaviour
you describe).

--
Jaime Casanova
Director de Servicios Profesionales
SystemGuards - Consultores de PostgreSQL

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2022-09-10 14:43:45 Bug in UPDATE statement
Previous Message James Pang (chaolpan) 2022-09-10 10:52:58 RE: huge memory of Postgresql backend process