Re: ERROR: invalid spinlock number: 0 - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: ERROR: invalid spinlock number: 0
Date
Msg-id YCpQwdyXErcTRhVX@paquier.xyz
Whole thread Raw
In response to Re: ERROR: invalid spinlock number: 0  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: ERROR: invalid spinlock number: 0
Re: ERROR: invalid spinlock number: 0
List pgsql-hackers
On Mon, Feb 15, 2021 at 10:47:05PM +1300, Thomas Munro wrote:
> Why not initialise it in WalRcvShmemInit()?

I was thinking about doing that as well, but we have no real need to
initialize this stuff in most cases, say standalone deployments.  In
particular for the fallback implementation of atomics, we would
prepare a spinlock for nothing.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: increase size of pg_commit_ts buffers
Next
From: Andrey Borodin
Date:
Subject: Re: increase size of pg_commit_ts buffers