Bug in UPDATE statement

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Bug in UPDATE statement
Дата
Msg-id CAKFQuwbMU8inji2kfRYUdfR-0113LeBPxmGPewiLTm+3pyuD7g@mail.gmail.com
обсуждение исходный текст
Ответ на Bug in UPDATE statement  (Moisés Limón <neomega@yahoo.com>)
Список pgsql-bugs
On Friday, September 9, 2022, Moisés Limón <neomega@yahoo.com> 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.


This is only a bug in the code you wrote, not a bug in PostgreSQL.  The code doesn’t error because it is valid.


(Yes, I’m assuming the problem here because you’ve filed a crappy bug report about a query bug without providing a query).

David J.


В списке pgsql-bugs по дате отправления:

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: Bug in UPDATE statement
Следующее
От: "houzj.fnst@fujitsu.com"
Дата:
Сообщение: RE: Excessive number of replication slots for 12->14 logical replication