RE: pg_createsubscriber does not check output_plugin_libraries

From: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>
To: 'Fujii Masao' <masao(dot)fujii(at)gmail(dot)com>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "jacob(dot)champion(at)enterprisedb(dot)com" <jacob(dot)champion(at)enterprisedb(dot)com>
Subject: RE: pg_createsubscriber does not check output_plugin_libraries
Date: 2026-09-04 11:47:01
Message-ID: OS9PR01MB12149D9D6C0F95E04A457B686F5B52@OS9PR01MB12149.jpnprd01.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dear Fujii-san,

Thanks for reviewing. I think your points are correct. PSA new version.
Only needed patches were attached.

IIUC the same issue could happen till PG18. Not sure the case when
GUC was added to the old version, but I feel it could be backpatched.
Patches for PG18 were also attached. For PG19, same ones as HEAD
were usable.

Best regards,
Hayato Kuroda
FUJITSU LIMITED

Attachment Content-Type Size
v2-PG18-0001-pg_createsubscriber-ensure-output_plugin_lib.patch application/octet-stream 6.0 KB
v2-PG18-0002-free-allocated-memory-for-max_slot_wal_keep_.patch application/octet-stream 819 bytes
v2-0001-pg_createsubscriber-ensure-output_plugin_librarie.patch application/octet-stream 7.1 KB
v2-0002-free-allocated-memory-for-max_slot_wal_keep_size.patch application/octet-stream 814 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-09-04 11:47:59 Re: pgsql: Fix compilation with OpenSSL 4
Previous Message Amit Langote 2026-09-04 11:36:49 Re: PG19 FK fast path: OOB write and missed FK checks during batched