Re: make LWLockCounter a global variable

Nathan Bossart <nathandbossart@gmail.com>

From: Nathan Bossart <nathandbossart@gmail.com>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@postgresql.org
Date: 2025-08-29T17:15:28Z
Lists: pgsql-hackers
On Fri, Aug 29, 2025 at 09:43:26AM -0500, Nathan Bossart wrote:
> Good idea.  Here's a new version of the patch.  If CI is happy with it,
> I'll go ahead and commit it.

Committed.

-- 
nathan



Commits

  1. Make LWLockCounter a global variable.

  2. Fix LWLockAssign() so that it can safely be executed after postmaster