mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
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 566372b3d6
. Back-patch to released
branches, v12 through 9.5.
Reported by Tom Lane.
Discussion: https://postgr.es/m/921383.1597523945@sss.pgh.pa.us
This commit is contained in:
@ -26,7 +26,6 @@
|
||||
const char *const LockTagTypeNames[] = {
|
||||
"relation",
|
||||
"extend",
|
||||
"frozenid",
|
||||
"page",
|
||||
"tuple",
|
||||
"transactionid",
|
||||
@ -34,7 +33,8 @@ const char *const LockTagTypeNames[] = {
|
||||
"speculative token",
|
||||
"object",
|
||||
"userlock",
|
||||
"advisory"
|
||||
"advisory",
|
||||
"frozenid"
|
||||
};
|
||||
|
||||
/* This must match enum PredicateLockTargetType (predicate_internals.h) */
|
||||
|
Reference in New Issue
Block a user