Re: windows CI failing PMSignalState->PMChildFlags[slot] == PM_CHILD_ASSIGNED - Mailing list pgsql-hackers

From Alexander Lakhin
Subject Re: windows CI failing PMSignalState->PMChildFlags[slot] == PM_CHILD_ASSIGNED
Date
Msg-id f9a88a6c-11bf-5531-6d54-bb8afb638bec@gmail.com
Whole thread Raw
In response to Re: windows CI failing PMSignalState->PMChildFlags[slot] == PM_CHILD_ASSIGNED  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
16.03.2023 00:13, Thomas Munro wrote:
> Thanks.  We were wondering if the retry mechanism might somehow be
> hiding this in non-assert builds, but, looking more closely, that is
> tied specifically to the memory reservation operation.

As to hiding, when analyzing the Assert issue, I was wondered if 
PMSignalShmemInit() can hide an error when calling ShmemInitStruct() for backends?
If I understand correctly, backends get PMSignalState through backend_variables, 
so maybe ShmemInitStruct() should not be executed for backends at all?

Best regards,
Alexander



pgsql-hackers by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: Allow logical replication to copy tables in binary format
Next
From: Amit Kapila
Date:
Subject: Re: Allow logical replication to copy tables in binary format