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

From: Anton Voloshin <a(dot)voloshin(at)postgrespro(dot)ru>
To: Álvaro Herrera <alvherre(at)kurilemu(dot)de>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Euler Taveira <euler(at)eulerto(dot)com>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: NULL pointer dereference in syslogger with load_libraries() and -DEXEC_BACKEND at startup
Date: 2026-07-15 13:35:44
Message-ID: 4ccb96f8-0bac-4362-ac22-2f81d1b0062c@postgrespro.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ayush Tiwari 2026-07-15 13:47:39 Re: Remove the refint contrib module (for v20)
Previous Message Fujii Masao 2026-07-15 13:04:27 Re: Fix publisher-side sequence permission reporting