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

Euler Taveira <euler@eulerto.com>

From: "Euler Taveira" <euler@eulerto.com>
To: Álvaro Herrera <alvherre@kurilemu.de>
Cc: "Michael Paquier" <michael@paquier.xyz>, "Kyotaro Horiguchi" <horikyota.ntt@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2026-05-27T00:13:30Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix syslogger NULL-pointer-dereference in EXEC_BACKEND

  2. Assign "backend" type earlier during process start-up

On Tue, May 26, 2026, at 2:21 PM, Álvaro Herrera wrote:
>
> All in all, I don't think we should cut corners here just to save one
> boolean variable.
>

As I said I'm fine with your proposed patch.


-- 
Euler Taveira
EDB   https://www.enterprisedb.com/