]> 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:42 +0000 (16:16 -0700)
commitd8a22a387b484e73e5a938874dc3a737452c4f1a
tree1b7b555138cbf8b7fe47fcc8b41838911e12e8aa
parent3fbbf64ceecbd0fe675850070ea1e5d77c401c4f
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