From: Daniel Gustafsson <daniel@yesql.se>
To: Alexander Korotkov <akorotkov@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Put enable_self_join_elimination into postgresql.conf.sample
Date: Sun, 6 Apr 2025 13:10:00 +0200
Message-ID: <D292EB44-806E-439A-82A4-491A1BA59E7A@yesql.se> (raw)
In-Reply-To: <E1u1NDv-002wnq-1k@gemulon.postgresql.org>
References: <E1u1NDv-002wnq-1k@gemulon.postgresql.org>
> On 6 Apr 2025, at 12:27, Alexander Korotkov <akorotkov@postgresql.org> wrote:
>
> Put enable_self_join_elimination into postgresql.conf.sample
>
> fc069a3a6319 implements Self-Join Elimination (SJE) and provides a new
> GUC variable: enable_self_join_elimination. This commit adds
> enable_self_join_elimination to the postgresql.conf.sample, as it was
> forgotten in the original commit.
The GUC is marked GUC_NOT_IN_SAMPLE:
+ {"enable_self_join_elimination", PGC_USERSET, QUERY_TUNING_METHOD,
+ gettext_noop("Enable removal of unique self-joins."),
+ NULL,
+ GUC_EXPLAIN | GUC_NOT_IN_SAMPLE
+ },
..which is causing an error in the buildfarm:
# Failed test 'no parameters missing from guc_tables.c'
# at t/003_check_guc.pl line 89.
# got: '1'
# expected: '0'
# Failed test 'no parameters marked as NOT_IN_SAMPLE in postgresql.conf.sample'
# at t/003_check_guc.pl line 92.
# got: '1'
# expected: '0'
# Looks like you failed 2 tests of 3.
--
Daniel Gustafsson
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: daniel@yesql.se, akorotkov@postgresql.org
Subject: Re: pgsql: Put enable_self_join_elimination into postgresql.conf.sample
In-Reply-To: <D292EB44-806E-439A-82A4-491A1BA59E7A@yesql.se>
References: <E1u1NDv-002wnq-1k@gemulon.postgresql.org> <D292EB44-806E-439A-82A4-491A1BA59E7A@yesql.se>
* 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