pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Clean up MergeCheckConstraint()
Date: Tue, 26 Sep 2023 13:07:28 +0000
Message-ID: <E1ql7mi-0063eB-0z@gemulon.postgresql.org> (raw)

Clean up MergeCheckConstraint()

If the constraint is not already in the list, add it ourselves,
instead of making the caller do it.  This makes the interface more
consistent with other "merge" functions in this file.

Discussion: https://www.postgresql.org/message-id/flat/52a125e4-ff9a-95f5-9f61-b87cf447e4da%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/369202bf4be6538ee29f41eb8c539d3764da4a3e

Modified Files
--------------
src/backend/commands/tablecmds.c | 48 ++++++++++++++++++----------------------
1 file changed, 22 insertions(+), 26 deletions(-)



Message-ID: <E1ql7mi-0063eB-0z@gemulon.postgresql.org>
Permalink:  ../E1ql7mi-0063eB-0z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ql7mi-0063eB-0z@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: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Clean up MergeCheckConstraint()
  In-Reply-To: <E1ql7mi-0063eB-0z@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