refactor: Move some code that updates pg_constraint to a separate function

This extracts common/duplicate code for different ALTER CONSTRAINT
variants into a common function.  We plan to add more variants that
would use the same code.

Author: Amul Sul <amul....@enterprisedb.com>
Discussion: 
https://www.postgresql.org/message-id/flat/caaj_b962c5acyw9kut_r_er5qs3fugbe4az-sp-vuwps-w-...@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a3280e2a494fe369a041ebdefdf2afb515952c18

Modified Files
--------------
src/backend/commands/tablecmds.c | 66 ++++++++++++++++++++++------------------
1 file changed, 37 insertions(+), 29 deletions(-)

Reply via email to