pgsql: Update comment about set_join_pathlist_hook().

From: Etsuro Fujita <efujita(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Update comment about set_join_pathlist_hook().
Date: 2023-09-21 10:58:05
Message-ID: E1qjHNk-0056pp-Qy@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Update comment about set_join_pathlist_hook().

The comment introduced by commit e7cb7ee14 was a bit too terse, which
could lead to extensions doing different things within the hook function
than we intend to allow. Extend the comment to explain what they can do
within the hook function.

Back-patch to all supported branches.

In passing, I rephrased a nearby comment that I recently added to the
back branches.

Reviewed by David Rowley and Andrei Lepikhov.

Discussion: https://postgr.es/m/CAPmGK15SBPA1nr3Aqsdm%2BYyS-ay0Ayo2BRYQ8_A2To9eLqwopQ%40mail.gmail.com

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3e2fe325526279086e7c1cc080d9152185b936a3

Modified Files
--------------
src/backend/optimizer/path/joinpath.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-09-21 12:38:12 pgsql: Allow dbname in pg_basebackup/pg_receivewal connstring
Previous Message David Rowley 2023-09-21 05:48:25 pgsql: Fix vacuumdb to pass buffer-usage-limit with analyze-only mode