]> 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:15 +0000 (16:16 -0700)
commit6af0b12a581a8ef962bcb9d76c63ff9fa8bf9fd9
tree81292c202f92c9a58f4936bd59d209c519c00034
parentd4031d78460cbbb4ed2fb7be635f84bea0e9a0c1
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