Re: BUG #19357: PostgreSQL generates a custom plan that performs worse than the generic plan for a certain query.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
Cc: 798604270(at)qq(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19357: PostgreSQL generates a custom plan that performs worse than the generic plan for a certain query.
Date: 2025-12-17 15:39:10
Message-ID: 2628965.1765985950@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Greg Sabino Mullane <htamfids(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Dave Cramer 2025-12-17 15:39:21 Re: BUG #19350: Short circuit optimization missed when runningsqlscriptes in JDBC
Previous Message Dave Cramer 2025-12-17 15:33:25 Re: BUG #19350: Short circuit optimization missed when runningsqlscriptes in JDBC