Re: BUG #17986: Inconsistent results of SELECT affected by btree index

From: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
To: zuming(dot)jiang(at)inf(dot)ethz(dot)ch, pgsql-bugs(at)lists(dot)postgresql(dot)org, PG Bug reporting form <noreply(at)postgresql(dot)org>
Subject: Re: BUG #17986: Inconsistent results of SELECT affected by btree index
Date: 2023-06-20 23:40:56
Message-ID: e73bf331-7b1d-9808-d909-80688e318a88@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 6/20/23 22:54, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Bug reference: 17986
> Logged by: Zuming Jiang
> Email address: zuming(dot)jiang(at)inf(dot)ethz(dot)ch
> PostgreSQL version: 16beta1
> Operating system: Ubuntu 20.04
> Description:
>
> My fuzzer finds a correctness bug in Postgres, which makes Postgres return
> inconsistent results. This bug can be reproduced even after applying the
> fixing patches for
> https://www.postgresql.org/message-id/flat/17976-4b638b525e9a983b%40postgresql.org
>
> https://www.postgresql.org/message-id/flat/17982-3fa239feecd6c1b3%40postgresql.org
> https://www.postgresql.org/message-id/flat/17985-748b66607acd432e%40postgresql.org
>
> ...
>
> --- Postgres version ---
> Github commit: efeb12ef0bfef0b5aa966a56bb4dbb1f936bda0c
> Version: PostgreSQL 16beta1 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu
> 9.4.0-1ubuntu1~20.04.1) 9.4.0, 64-bit
>

I can't reproduce this with current master - perhaps one of the commits
since efeb12ef0b fixes this too? Those should be for the patches you
mentioned, but it's likely a bit improved.

Can you try with current master?

regards

--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Japin Li 2023-06-21 01:45:23 Re: BUG #17983: Assert IsTransactionState() failed when empty string statement prepared in aborted transaction
Previous Message Thomas Munro 2023-06-20 23:20:28 Re: BUG #17949: Adding an index introduces serialisation anomalies.