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
v2-PG18-0001-pg_createsubscriber-ensure-output_plugin_lib.patch
Description: v2-PG18-0001-pg_createsubscriber-ensure-output_plugin_lib.patch
v2-PG18-0002-free-allocated-memory-for-max_slot_wal_keep_.patch
Description: v2-PG18-0002-free-allocated-memory-for-max_slot_wal_keep_.patch
v2-0001-pg_createsubscriber-ensure-output_plugin_librarie.patch
Description: v2-0001-pg_createsubscriber-ensure-output_plugin_librarie.patch
v2-0002-free-allocated-memory-for-max_slot_wal_keep_size.patch
Description: v2-0002-free-allocated-memory-for-max_slot_wal_keep_size.patch
