rename alter constraint enforceability related functions The functions AlterConstrEnforceabilityRecurse and ATExecAlterConstrEnforceability are being renamed to AlterFKConstrEnforceabilityRecurse and ATExecAlterFKConstrEnforceability, respectively.
The current alter constraint functions only handle Foreign Key constraints. Renaming them to be more explicit about the constraint type is necessary; otherwise, it will cause confusion when we later introduce the ability to alter the enforceability of other constraints. Author: Jian He <[email protected]> Reviewed-by: Amul Sul <[email protected]> Reviewed-by: Kirill Reshke <[email protected]> Reviewed-by: Robert Treat <[email protected]> Discussion: https://postgr.es/m/cacjufxhch_fu-fsewscvg9mn6-5tzr6h9ntn+0kugtcaerd...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a9747153e14d38a72d2468744fab946643423924 Modified Files -------------- src/backend/commands/tablecmds.c | 119 ++++++++++++++++++++------------------- 1 file changed, 60 insertions(+), 59 deletions(-)
