]> 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:45 +0000 (12:37 +0300)
commit7b009944c2525fcf8ee35db135c4bc560eb208f2
treeb090903ea116094b619c2211ac0cfc5bec25d403
parent169a6588a71724e7932ece91d844b810b0dbed67
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