]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Update comment about set_join_pathlist_hook().
authorEtsuro Fujita <efujita@postgresql.org>
Thu, 21 Sep 2023 10:45:01 +0000 (19:45 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Thu, 21 Sep 2023 10:45:01 +0000 (19:45 +0900)
commit3e2fe325526279086e7c1cc080d9152185b936a3
treeb10bffbc4a433fea91dca9ca93ab0cacaf8b0e0c
parentf7dbdab051d08b1b728b17dbc2b18b7e4f16734c
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
src/backend/optimizer/path/joinpath.c