Remove extra check_stack_depth() from dropconstraint_internal()
authorAlexander Korotkov <akorotkov@postgresql.org>
Wed, 21 Feb 2024 00:46:56 +0000 (02:46 +0200)
committerAlexander Korotkov <akorotkov@postgresql.org>
Wed, 21 Feb 2024 00:51:41 +0000 (02:51 +0200)
commit75bcba6cbd2a6f62752d7917d9a3c0a52f8605c9
tree77071f287a978e3ff70d62887371c82daae94955
parentfcd210d496dad7d9f68c9399113368ccf2f009b9
Remove extra check_stack_depth() from dropconstraint_internal()

The second check was added by d57b7cc33 without taking into account there
is already a check since b0f7dd915.

Reported-by: Ashutosh Bapat, Alexander Lakhin
Discussion: https://postgr.es/m/CAExHW5sBZWDjeBUFs_ehEDM%2BuhWxTiBkPbLiat7ZjWkb-DWQWw%40mail.gmail.com
src/backend/commands/tablecmds.c