pgsql: Tweak API of new function clause_is_computable_at().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Tweak API of new function clause_is_computable_at().
Date: 2023-05-18 14:39:28
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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/[email protected]

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2023-05-18 17:38:46 pgsql: Doc improvements for language tags and custom ICU collations.
Previous Message Andrew Dunstan 2023-05-18 01:54:59 Re: issue with meson builds on msys2