Re: Cleanup: PGProc->links doesn't need to be the first field anymore

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Andres Freund <andres@anarazel.de>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2024-07-05T08:34:06Z
Lists: pgsql-hackers
On 04/07/2024 23:20, Andres Freund wrote:
> On 2024-07-04 01:54:18 +0300, Heikki Linnakangas wrote:
>> I believe that was just an oversight. Trivial patch attached.
> 
> Oops. Yes, I clearly should have used dlist_container() here.
Committed, thanks.

-- 
Heikki Linnakangas
Neon (https://neon.tech)
	



Commits

  1. Lift limitation that PGPROC->links must be the first field

  2. Use dlist/dclist instead of PROC_QUEUE / SHM_QUEUE for heavyweight locks