Re: Removing unneeded self joins

From: Tender Wang <tndrwang(at)gmail(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Alexander Korotkov <aekorotkov(at)gmail(dot)com>, 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:42:01
Message-ID: CAHewXN==F2zZ9S+eNKnuLELunxhhCVafdGkr587MFEekS=qGRA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Thanks, Tender Wang

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Korotkov 2025-04-06 11:49:54 Re: Removing unneeded self joins
Previous Message Etsuro Fujita 2025-04-06 11:35:23 Re: Thinko in pgstat_build_snapshot()