Re: Query results vary depending on the plan cache mode used

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Richard Guo <guofenglinux(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Query results vary depending on the plan cache mode used
Date: 2024-08-01 14:34:20
Message-ID: 3738954.1722522860@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Richard Guo <guofenglinux(at)gmail(dot)com> writes:
> While working on the grouping sets patches for queries with GROUP BY
> items that are constants, I noticed $subject on master. As an
> example, consider

This particular example seems like it's just an illustration of
our known bugs with grouping sets using non-Var columns. I see
no reason to blame the plan cache for it. Do you have any
examples that don't depend on such a bug?

(And yes, I apologize for not yet having reviewed your patch
to fix the grouping-sets bug.)

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2024-08-01 14:43:54 Re: can we mark upper/lower/textlike functions leakproof?
Previous Message Tom Lane 2024-08-01 14:26:05 Re: can we mark upper/lower/textlike functions leakproof?