From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Sabino Mullane <htamfids@gmail.com>
Cc: 798604270@qq.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19357: PostgreSQL generates a custom plan that performs worse than the generic plan for a certain query.
Date: Wed, 17 Dec 2025 10:39:10 -0500
Message-ID: <2628965.1765985950@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKAnmmKVs-xCtsoF9Y5hAGavfXSGo2_2T=R19CcYArZ7MC7uKA@mail.gmail.com>
References: <19357-060d926bff47a613@postgresql.org>
<CAKAnmmKVs-xCtsoF9Y5hAGavfXSGo2_2T=R19CcYArZ7MC7uKA@mail.gmail.com>
Greg Sabino Mullane <htamfids@gmail.com> writes:
> Please simplify your test query as much as possible and use "text" format
> in your explain results; those will improve your chances of getting a
> useful reply. :)
More to the point: it's hard to get excited about optimizing a query
that was so obviously built by a fuzzer rather than corresponding to
any real-world use-case. We have finite manpower and we'd much rather
put it into solving users' real problems.
regards, tom lane
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, htamfids@gmail.com, 798604270@qq.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19357: PostgreSQL generates a custom plan that performs worse than the generic plan for a certain query.
In-Reply-To: <2628965.1765985950@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