pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: marcos sicat <marcos.sicat@atlasifs.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: Postgres 17.4 is much slower than Postgres 15.12 using RECURSIVE
Date: Mon, 28 Apr 2025 09:59:17 -0400
Message-ID: <775999.1745848757@sss.pgh.pa.us> (raw)
In-Reply-To: <MW5PR84MB2227BFE47602F2AAED04A0B3F2812@MW5PR84MB2227.NAMPRD84.PROD.OUTLOOK.COM>
References: <MW5PR84MB2227AA8FFF0ACD8E02F14F1AF2862@MW5PR84MB2227.NAMPRD84.PROD.OUTLOOK.COM>
	<CAFj8pRBygw-a5+LdeWSW=8N091=i2Tgmx=73ORyTv6ksT3Zw5w@mail.gmail.com>
	<MW5PR84MB2227BFE47602F2AAED04A0B3F2812@MW5PR84MB2227.NAMPRD84.PROD.OUTLOOK.COM>

marcos sicat <marcos.sicat@atlasifs.com> writes:
> The function is the same between v15 and v17.  Is there a subtle difference in performance for nested subqueries in v17?

Your next step should be to compare the plans for the function's
query.  The auto_explain or pg_stat_statements extensions could
be used to check that in-situ, if manually EXPLAINing that query
doesn't yield insight.

			regards, tom lane





view thread (10+ messages)  latest in thread

Message-ID: <775999.1745848757@sss.pgh.pa.us>
Permalink:  ../775999.1745848757@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/775999.1745848757@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, marcos.sicat@atlasifs.com, pavel.stehule@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: Postgres 17.4 is much slower than Postgres 15.12 using RECURSIVE
  In-Reply-To: <775999.1745848757@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