postgresql/src/include/optimizer
David Rowley 2453196107 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
2024-10-15 21:14:21 +13:00
..
appendinfo.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
clauses.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
cost.h Treat number of disabled nodes in a path as a separate cost metric. 2024-08-21 10:12:30 -04:00
geqo.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
geqo_copy.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
geqo_gene.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
geqo_misc.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
geqo_mutation.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
geqo_pool.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
geqo_random.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
geqo_recombination.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
geqo_selection.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
inherit.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
joininfo.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
optimizer.h Introduce an RTE for the grouping step 2024-09-10 12:35:34 +09:00
orclauses.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
paramassign.h Add RETURNING support to MERGE. 2024-03-17 13:58:59 +00:00
pathnode.h Treat number of disabled nodes in a path as a separate cost metric. 2024-08-21 10:12:30 -04:00
paths.h Recalculate where-needed data accurately after a join removal. 2024-09-27 16:04:04 -04:00
placeholder.h Recalculate where-needed data accurately after a join removal. 2024-09-27 16:04:04 -04:00
plancat.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
planmain.h Recalculate where-needed data accurately after a join removal. 2024-09-27 16:04:04 -04:00
planner.h Re-allow planner to use Merge Append to efficiently implement UNION. 2024-05-21 12:44:51 -04:00
prep.h Re-allow planner to use Merge Append to efficiently implement UNION. 2024-05-21 12:44:51 -04:00
restrictinfo.h Move clause_sides_match_join() into restrictinfo.h 2024-10-15 21:14:21 +13:00
subselect.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
tlist.h Update copyright for 2024 2024-01-03 20:49:05 -05:00