[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 →
-
Allow "SET list_guc TO NULL" to specify setting the GUC to empty.
- ff4597acd4c3 19 (unreleased) landed
Attachments
- README_fix.md (text/markdown)
- fix_alter_system_empty_string_bug.patch (text/x-patch) patch
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