Fix misleading comment in paraminfo_get_equal_hashops

David Rowley <drowley@postgresql.org>

Commit: fdd79d8992d600d38eecfab568b27f6d04e4dfb3
Author: David Rowley <drowley@postgresql.org>
Date: 2023-08-07T06:16:46Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/optimizer/path/joinpath.c modified +1 −1

Discussion