Re: BUG #17982: Inconsistent results of SELECT with CTE caused by subquery comparison

From: Zu-Ming Jiang <zuming(dot)jiang(at)inf(dot)ethz(dot)ch>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17982: Inconsistent results of SELECT with CTE caused by subquery comparison
Date: 2023-06-19 18:00:20
Message-ID: 5d183639-dbc5-e6be-39bd-6ada253c5ece@inf.ethz.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanks for your information and the fixing! I will then apply your patch
and test postgres again.

Best,
Zuming

------------------------------------------------------------------------
*From:* Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
*Sent:* Monday, June 19, 2023 at 6:08 PM
*To:* zuming(dot)jiang(at)inf(dot)ethz(dot)ch
*Cc:* pgsql-bugs(at)lists(dot)postgresql(dot)org
*Subject:* BUG #17982: Inconsistent results of SELECT with CTE caused by
subquery comparison

> PG Bug reporting form<noreply(at)postgresql(dot)org> writes:
>> My fuzzer finds a correctness bug in Postgres, which makes Postgres return
>> inconsistent results.
> This appears to be the same issue you already reported in bug #17978.
> At least, the patch I just posted in that thread fixes this too.
>
> regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-06-19 19:00:01 BUG #17983: Assert IsTransactionState() failed when empty string statement prepared in aborted transaction
Previous Message Andres Freund 2023-06-19 17:45:23 Re: BUG #17973: Reinit of pgstats entry for dropped DB can break autovacuum daemon