pgsql: Tweak API of new function clause_is_computable_at(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Tweak API of new function clause_is_computable_at().
Date
Msg-id E1pzemv-000Vev-1j@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: ICU: check for U_STRING_NOT_TERMINATED_WARNING.
Next
From: Jeff Davis
Date:
Subject: pgsql: Doc improvements for language tags and custom ICU collations.