]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add missing error code to "cannot attach index ..." error.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 28 May 2020 09:37:00 +0000 (12:37 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 28 May 2020 09:37:56 +0000 (12:37 +0300)
commit34301c9c5674919ef2e786f1157b3ced543b02e2
tree9661e552f0cc39b64fb01b9a2890a5e727af3039
parent25fc24ba90df99d3c331627f3e4efb795a440dd0
Add missing error code to "cannot attach index ..." error.

ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE was used in an ereport with the
same message but different errdetail a few lines earlier, so use that
here as well.

Backpatch-through: 11
src/backend/commands/tablecmds.c