From: | Alexander Korotkov <aekorotkov(at)gmail(dot)com> |
---|---|
To: | Tender Wang <tndrwang(at)gmail(dot)com> |
Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Andrei Lepikhov <lepihov(at)gmail(dot)com>, Richard Guo <guofenglinux(at)gmail(dot)com>, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>, Alena Rybakina <a(dot)rybakina(at)postgrespro(dot)ru>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Alexander Lakhin <exclusion(at)gmail(dot)com>, "Gregory Stark (as CFM)" <stark(dot)cfm(at)gmail(dot)com>, Michał Kłeczek <michal(at)kleczek(dot)org>, Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com> |
Subject: | Re: Removing unneeded self joins |
Date: | 2025-04-06 11:49:54 |
Message-ID: | CAPpHfdsqMTEsmxk3aQwt6xPz+KpUELO=6fzmER9ZRGrbs4uMfA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Apr 6, 2025 at 2:42 PM Tender Wang <tndrwang(at)gmail(dot)com> wrote:
> Daniel Gustafsson <daniel(at)yesql(dot)se> 于2025年4月6日周日 19:23写道:
>>
>> > On 6 Apr 2025, at 06:02, Tender Wang <tndrwang(at)gmail(dot)com> wrote:
>>
>> > I find that the postgresql.conf.sample file doesn't contain enable_self_join_elimination guc.
>> > If this is necessary, please see the attached patch.
>>
>> The GUC is marked as not supposed by the in the sample file, either it really
>> shouldn't or that needs to be removed from the GUC declaration.
>
>
> Sorry, I didn't see the GUC_NOT_IN_SAMPLE flag. Thanks for the reminder.
> Please ignore the noise.
Also, sorry for thoughtless commit of that.
Nevertheless, should we consider revisiting this flag? I see the only
other GUC simultaneously QUERY_TUNING_METHOD and GUC_NOT_IN_SAMPLE is
optimize_bounded_sort, which is not exposed in a standard build.
------
Regards,
Alexander Korotkov
Supabase
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2025-04-06 11:51:34 | Re: Draft for basic NUMA observability |
Previous Message | Tender Wang | 2025-04-06 11:42:01 | Re: Removing unneeded self joins |