pgsql: Update comment about set_join_pathlist_hook().

Started by Etsuro Fujitaabout 3 years ago1 messagescomitters
Jump to latest
#1Etsuro Fujita
fujita.etsuro@lab.ntt.co.jp

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: /messages/by-id/CAPmGK15SBPA1nr3Aqsdm+YyS-ay0Ayo2BRYQ8_A2To9eLqwopQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c621467d2bc6435d07db4471998ca9c9f0c57777

Modified Files
--------------
src/backend/optimizer/path/joinpath.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)