pgsql: Clean up MergeCheckConstraint() - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Clean up MergeCheckConstraint()
Date
Msg-id E1ql7mi-0063eB-0z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix another bug in parent page splitting during GiST index build
Next
From: Peter Eisentraut
Date:
Subject: pgsql: MergeAttributes() and related variable renaming