Fix misleading comment in paraminfo_get_equal_hashops
authorDavid Rowley <drowley@postgresql.org>
Mon, 7 Aug 2023 06:16:46 +0000 (18:16 +1200)
committerDavid Rowley <drowley@postgresql.org>
Mon, 7 Aug 2023 06:16:46 +0000 (18:16 +1200)
commitfdd79d8992d600d38eecfab568b27f6d04e4dfb3
treef2da4f8e1debe2950f365f2491419ef75b869539
parent6c00d2c9d4c533dad4e0afe28cfde0e12e4eb4e0
Fix misleading comment in paraminfo_get_equal_hashops

The comment mistakenly claimed the code was checking PlaceHolderVars for
volatile functions when the code was actually checking lateral vars.

Update the comment to reflect the reality of the code.

Author: Richard Guo
Discussion: https://postgr.es/m/CAMbWs48HZGZOV85g0fx8z1qDx6NNKHexJPT2FCnKnZhxBWkd-A@mail.gmail.com
src/backend/optimizer/path/joinpath.c