[PATCH] Fix ALTER SYSTEM empty string bug for GUC_LIST_QUOTE parameters

Andrei Klychkov <andrew.a.klychkov@gmail.com>

From: Andrei Klychkov <andrew.a.klychkov@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Date: 2025-08-28T09:29:03Z
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. Allow "SET list_guc TO NULL" to specify setting the GUC to empty.

Attachments

Hi Hackers,

I'm submitting a patch to fix a bug where ALTER SYSTEM SET with empty
strings for
GUC_LIST_QUOTE parameters (like shared_preload_libraries) results in
malformed
configuration entries that cause server crashes on restart.

Please take a look,

Thanks
Andrew