pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Tweak API of new function clause_is_computable_at().
Date: Thu, 18 May 2023 14:39:28 +0000
Message-ID: <E1pzemv-000Vev-1j@gemulon.postgresql.org> (raw)

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



Message-ID: <E1pzemv-000Vev-1j@gemulon.postgresql.org>
Permalink:  ../E1pzemv-000Vev-1j@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pzemv-000Vev-1j@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Tweak API of new function clause_is_computable_at().
  In-Reply-To: <E1pzemv-000Vev-1j@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox