pgsql: Move new LOCKTAG_DATABASE_FROZEN_IDS to end of enum LockTagType.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move new LOCKTAG_DATABASE_FROZEN_IDS to end of enum LockTagType.
Date: 2020-08-15 23:17:57
Message-ID: E1k75Qz-0002NY-0Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/06e50d8f7eee9a0b42c8392b75e0780c0a30fa84

Modified Files
--------------
src/backend/utils/adt/lockfuncs.c | 4 ++--
src/include/storage/lock.h | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2020-08-16 03:22:54 pgsql: Correct several behavior descriptions in comments.
Previous Message Noah Misch 2020-08-15 20:48:18 Re: pgsql: Prevent concurrent SimpleLruTruncate() for any given SLRU.