Re: Bug in UPDATE statement - Mailing list pgsql-bugs

From Jaime Casanova
Subject Re: Bug in UPDATE statement
Date
Msg-id YxyBMoBUY2+0dMQZ@ahch-to
Whole thread Raw
In response to Bug in UPDATE statement  (Moisés Limón <neomega@yahoo.com>)
List 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
changesare 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



pgsql-bugs by date:

Previous
From: "James Pang (chaolpan)"
Date:
Subject: RE: huge memory of Postgresql backend process
Next
From: "David G. Johnston"
Date:
Subject: Bug in UPDATE statement