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

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Anton Voloshin <a(dot)voloshin(at)postgrespro(dot)ru>, 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-25 07:07:26
Message-ID: amRgZ272UyE7i8UA@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2026-Jul-25, Michael Paquier wrote:

> Confirmed. Running another flavor, as of this command, I can see the
> same output:
> $ src/tools/mark_pgdllimport.pl $(git ls-files src/include/)
> src/include/common/logging.h: adding 1 PGDLLIMPORT markers
> src/include/postmaster/syslogger.h: adding 1 PGDLLIMPORT markers
>
> Not touching logging.h is intentional, the new syslogger_setup_done
> should be marked with PGDLLIMPORT. That's the only hole currently in
> the tree.

No objections from me. In fact, since this is my fail, please let me do
it instead.

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"Escucha y olvidarás; ve y recordarás; haz y entenderás" (Confucio)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2026-07-25 08:42:16 Re: [DESIGN] Soft DROP TABLE, recoverable drops for PostgreSQL
Previous Message Amit Kapila 2026-07-25 04:31:50 Re: [DESIGN] Soft DROP TABLE, recoverable drops for PostgreSQL