Remove extra check_stack_depth() from dropconstraint_internal()

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 75bcba6cbd2a6f62752d7917d9a3c0a52f8605c9
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2024-02-21T00:51:41Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/commands/tablecmds.c modified +0 −3

Discussion