Обсуждение: pgsql: Clean up MergeCheckConstraint()

Поиск
Список
Период
Сортировка

pgsql: Clean up MergeCheckConstraint()

От
Peter Eisentraut
Дата:
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(-)