]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Move new LOCKTAG_DATABASE_FROZEN_IDS to end of enum LockTagType.
authorNoah Misch <noah@leadboat.com>
Sat, 15 Aug 2020 23:15:59 +0000 (16:15 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 15 Aug 2020 23:16:29 +0000 (16:16 -0700)
commite8e44e89090647f56bd62ce4f75ba11dd5bb77be
tree90c9c31807e6a086f825025a52a110d5833fa6fb
parente525770dd504e5f182229b9bee64430ebe71a2a8
Move new LOCKTAG_DATABASE_FROZEN_IDS to end of enum LockTagType.

Several PGXN modules reference LockTagType values; renumbering would
force a recompile of those modules.  Oversight in back-patch of today's
commit 566372b3d6435639e4cc4476d79b8505a0297c87.  Back-patch to released
branches, v12 through 9.5.

Reported by Tom Lane.

Discussion: https://postgr.es/m/921383.1597523945@sss.pgh.pa.us
src/backend/utils/adt/lockfuncs.c
src/include/storage/lock.h