aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/constraint.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2024-08-22 00:07:04 -0700
committerNoah Misch <noah@leadboat.com>2024-08-22 00:07:09 -0700
commit6b1f78d90b5f2475d968e16febee8f9d43730d63 (patch)
tree9b2aa16f1d2dd7efafbf248ce0fe3949c44ee6a8 /src/backend/commands/constraint.c
parentf636ab41aba215eaa3303e21a10f12d81357f1f6 (diff)
downloadpostgresql-6b1f78d90b5f2475d968e16febee8f9d43730d63.tar.gz
postgresql-6b1f78d90b5f2475d968e16febee8f9d43730d63.zip
Fix attach of a previously-detached injection point.
It's normal for the name in a free slot to match the new name. The max_inuse mechanism kept simple cases from reaching the problem. The problem could appear when index 0 was the previously-detached entry and index 1 is in use. Back-patch to v17, where this code first appeared.
Diffstat (limited to 'src/backend/commands/constraint.c')
0 files changed, 0 insertions, 0 deletions