Tweak API of new function clause_is_computable_at().
Pass it the RestrictInfo under consideration, not just the
clause_relids. This should save some trivial amount of
code at the call sites, and it gives us more flexibility
about what clause_is_computable_at() does. There's no
actual functional change here, though.
Discussion: https://postgr.es/m/3564467.1684352557@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8a2523ff354077180084b43a04be01f10aafdb8c
Modified Files
--------------
src/backend/optimizer/util/relnode.c | 7 +++----
src/backend/optimizer/util/restrictinfo.c | 3 ++-
src/include/optimizer/restrictinfo.h | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)