summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2018-12-31 12:39:15 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2018-12-31 12:39:15 -0500
commitb2edbbd02d3070c234225da7b2ec10298652658a (patch)
tree914fca79c0374393a91333b99941da4d6b8e38cd /src/backend/access/gist/gist.c
parent60d99797bfb07f8042a8b82c161500f6e4a500ec (diff)
downloadpostgresql-b2edbbd02d3070c234225da7b2ec10298652658a.tar.gz
Fix oversight in commit b5415e3c2187ab304390524f5ae66b4bd2c58279.
While rearranging code in tidpath.c, I overlooked the fact that we ought to check restriction_is_securely_promotable when trying to use a join clause as a TID qual. Since tideq itself is leakproof, this wouldn't really allow any interesting leak AFAICT, but it still seems like we had better check it. For consistency with the corresponding logic in indxpath.c, also check rinfo->pseudoconstant. I'm not sure right now that it's possible for that to be set in a join clause, but if it were, a match couldn't be made anyway.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions