aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2024-10-15 21:14:21 +1300
committerDavid Rowley <drowley@postgresql.org>2024-10-15 21:14:21 +1300
commit2453196107de66cff0257feef2ff8585dcf9d924 (patch)
tree30cc541e1cb45cfd0189e0b83712c72a01abd1ee /src/backend/parser/parse_expr.c
parent7cdfeee320e72162b62dddddee638e713c2b8680 (diff)
downloadpostgresql-2453196107de66cff0257feef2ff8585dcf9d924.tar.gz
postgresql-2453196107de66cff0257feef2ff8585dcf9d924.zip
Move clause_sides_match_join() into restrictinfo.h
Two near-identical copies of clause_sides_match_join() existed in joinpath.c and analyzejoins.c. Deduplicate this by moving the function into restrictinfo.h. It isn't quite clear that keeping the inline property of this function is worthwhile, but this commit is just an exercise in code deduplication. More effort would be required to determine if the inline property is worth keeping. Author: James Hunter <james.hunter.pg@gmail.com> Discussion: https://postgr.es/m/CAJVSvF7Nm_9kgMLOch4c-5fbh3MYg%3D9BdnDx3Dv7Fcb64zr64Q%40mail.gmail.com
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions