diff options
author | Noah Misch <noah@leadboat.com> | 2020-08-15 16:15:59 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2020-08-15 16:16:34 -0700 |
commit | 85aa22cb120d0ee91d41dfa27d307a95f01df89f (patch) | |
tree | 1b1541fd6439b2da4645ec05f133d97e3b3e2256 /src/backend/utils | |
parent | 5ae01df6f6ef590fd73299050c7112f69c03f3de (diff) |
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
Diffstat (limited to 'src/backend/utils')
-rw-r--r-- | src/backend/utils/adt/lockfuncs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/lockfuncs.c b/src/backend/utils/adt/lockfuncs.c index 3b5627d8879..a11c711d725 100644 --- a/src/backend/utils/adt/lockfuncs.c +++ b/src/backend/utils/adt/lockfuncs.c @@ -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) */ |