Re: NULL pointer dereference in syslogger with load_libraries() and -DEXEC_BACKEND at startup - Mailing list pgsql-hackers

From Anton Voloshin
Subject Re: NULL pointer dereference in syslogger with load_libraries() and -DEXEC_BACKEND at startup
Date
Msg-id 4ccb96f8-0bac-4362-ac22-2f81d1b0062c@postgrespro.ru
Whole thread
Responses Re: NULL pointer dereference in syslogger with load_libraries() and -DEXEC_BACKEND at startup
List pgsql-hackers
On 08/06/2026 21:03, Álvaro Herrera wrote:
> Yep, done and pushed.

 > --- a/src/include/postmaster/syslogger.h
 > +++ b/src/include/postmaster/syslogger.h
 > @@ -85,6 +85,7 @@ extern PGDLLIMPORT int syslogPipe[2];
 >  extern PGDLLIMPORT HANDLE syslogPipe[2];
 >  #endif
 >
 > +extern bool syslogger_setup_done;

Shouldn't this be extern *PGDLLIMPORT* bool ... ?

-- 
Anton Voloshin
https://postgrespro.com



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Wrong argument name in error message from attribute_stats functions
Next
From: Ayush Tiwari
Date:
Subject: Re: Remove the refint contrib module (for v20)