Re: BUG #18526: 'UPDATE' inconsistency using index scan with 'NOT EXIST' after upgrading to PostgreSQL 16

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Re: BUG #18526: 'UPDATE' inconsistency using index scan with 'NOT EXIST' after upgrading to PostgreSQL 16
Дата
Msg-id F1C7A8AE-A753-4A1F-A027-1B9D25701779@thebuild.com
обсуждение исходный текст
Ответ на BUG #18526: 'UPDATE' inconsistency using index scan with 'NOT EXIST' after upgrading to PostgreSQL 16  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs

> On Jun 28, 2024, at 10:24, PG Bug reporting form <noreply@postgresql.org> wrote:
>
> Expected Result: All records that meet the criteria should be updated
> regardless of using index scan or seq scan.
> Actual Result: When PostgreSQL 16 uses index scan, it fails to find and
> update all records. By changing random_page_cost to a value that forces the
> use of seq scan, all records are updated correctly.

Have you tried rebuilding the index to rule out index corruption?


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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #18526: 'UPDATE' inconsistency using index scan with 'NOT EXIST' after upgrading to PostgreSQL 16
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #18525: Boolean aggregate functions like EVERY/BOOL_AND should shortcut