Re: pgsql: Move cancel key generation to after forking the backend - Mailing list pgsql-committers

From Heikki Linnakangas
Subject Re: pgsql: Move cancel key generation to after forking the backend
Date
Msg-id bc1e2356-a44d-47a7-a280-c8cb6c625a6a@iki.fi
Whole thread Raw
In response to Re: pgsql: Move cancel key generation to after forking the backend  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: pgsql: Move cancel key generation to after forking the backend
List pgsql-committers
On 29/07/2024 16:23, Daniel Gustafsson wrote:
>> On 29 Jul 2024, at 15:18, Heikki Linnakangas <heikki.linnakangas@iki.fi> wrote:
>>
>> Move cancel key generation to after forking the backend
> 
> longfin seems a tad sad about this one:
> 
> procsignal.c:87:3: error: redefinition of typedef 'ProcSignalHeader' is a C11 feature
[-Werror,-Wtypedef-redefinition]
> } ProcSignalHeader;
> ^
> ../../../../src/include/storage/procsignal.h:77:33: note: previous definition is here
> typedef struct ProcSignalHeader ProcSignalHeader;
> ^
> 1 error generated.
> make[4]: *** [procsignal.o] Error 1

Yep, thanks, just noticed and fixed it myself. I should add that to the 
list of compiler options I use...

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




pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix compiler warning/error about typedef redefinitions
Next
From: Heikki Linnakangas
Date:
Subject: Re: pgsql: Move cancel key generation to after forking the backend