]> 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:15:59 +0000 (16:15 -0700)
commit06e50d8f7eee9a0b42c8392b75e0780c0a30fa84
tree8455abf635bdbc43810e2b2f5e5d1177db53e5e2
parent30e68a2abb3890c3292ff0b2422a7ea04d62acdd
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