pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Lori Corbani <Lori.Corbani@jax.org>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: [EXTERNAL]Re: BUG #19094: select statement on postgres 17 vs postgres 18 is returning different/duplicate results
Date: Wed, 29 Oct 2025 12:00:13 -0400
Message-ID: <2754299.1761753613@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMbWs48LWK2b1LAoLT5SdsAk42qWEFkz0tOZ_DcjeU0yB+amVQ@mail.gmail.com>
References: <19094-6ed410eb5b256abd@postgresql.org>
	<1970841.1761402665@sss.pgh.pa.us>
	<CY4PR06MB3575BFEBB314BB94654A7CC991FCA@CY4PR06MB3575.namprd06.prod.outlook.com>
	<CY4PR06MB3575C513D645156C738ABBDC91FCA@CY4PR06MB3575.namprd06.prod.outlook.com>
	<2441795.1761593103@sss.pgh.pa.us>
	<2447089.1761595976@sss.pgh.pa.us>
	<CAMbWs49MBMkc_HhCW2v_cNSPH8=tCKDKd0AgEX6OEp-xOkbFfw@mail.gmail.com>
	<2485781.1761617055@sss.pgh.pa.us>
	<CAMbWs49J=KnxRkxLevtJ7nXSF01Tym3H0EVwV+Lmw2CkoRspOw@mail.gmail.com>
	<2626296.1761692854@sss.pgh.pa.us>
	<CAMbWs48BmV_eT2+AM6J7RA_09XgUjf3HG3VkY8-uvTUTML++XA@mail.gmail.com>
	<CAMbWs48LWK2b1LAoLT5SdsAk42qWEFkz0tOZ_DcjeU0yB+amVQ@mail.gmail.com>

Richard Guo <guofenglinux@gmail.com> writes:
> After spending a bit more time experimenting, I couldn't find a better
> query that shows a large difference between the costs of the PRSJ plan
> and the patched version plan.  So I've updated the test case to use
> the aforementioned one.  I also removed the reset statements and
> switched to the begin/rollback pattern for the test case.

v2 patch LGTM.

			regards, tom lane





view thread (25+ messages)  latest in thread

Message-ID: <2754299.1761753613@sss.pgh.pa.us>
Permalink:  ../2754299.1761753613@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2754299.1761753613@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, guofenglinux@gmail.com, Lori.Corbani@jax.org, thomas.munro@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: [EXTERNAL]Re: BUG #19094: select statement on postgres 17 vs postgres 18 is returning different/duplicate results
  In-Reply-To: <2754299.1761753613@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox