pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andreas Karlsson <andreas@proxel.se>
Cc: Andrei Klychkov <andrew.a.klychkov@gmail.com>
Cc: Jim Jones <jim.jones@uni-muenster.de>
Cc: Fujii Masao <masao.fujii@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: [PATCH] Fix ALTER SYSTEM empty string bug for GUC_LIST_QUOTE parameters
Date: Tue, 04 Nov 2025 12:24:41 -0500
Message-ID: <642906.1762277081@sss.pgh.pa.us> (raw)
In-Reply-To: <7b2cf326-72bc-4681-89a1-c8347f9c32f8@proxel.se>
References: <CA+mfrmwsBmYsJayWjc8bJmicxc3phZcHHY=yW5aYe=P-1d_4bg@mail.gmail.com>
	<38091678-2820-4bc8-8df7-b417562f7860@uni-muenster.de>
	<CA+mfrmxtk+f3dE8zJ2=5cWrbSw6YzOXNOmbi1iC0Hb0HCa-G7w@mail.gmail.com>
	<CAHGQGwG7ADhPorp0-29LGz0Vct=Dhhcerb8LdX2s+QC7TY=RRA@mail.gmail.com>
	<CA+mfrmwJgd3N1Lcqy64Fi6R+JHAT=bhf6rdh52hMRH78pBM5mQ@mail.gmail.com>
	<CAHGQGwEqxZ81JrJ+fO=8sYGFYTgrZ-M6XYErdLoiy8p82EXS-A@mail.gmail.com>
	<1046095.1757007639@sss.pgh.pa.us>
	<1056071.1757010288@sss.pgh.pa.us>
	<1235943.1757022769@sss.pgh.pa.us>
	<12e88f4f-82f0-4153-ab19-7f1c5f317912@uni-muenster.de>
	<1528424.1757106377@sss.pgh.pa.us>
	<a749d0b9-f751-4f8d-819f-0170a5a33716@uni-muenster.de>
	<CA+mfrmyc6pEGE9nY70nEJMdtyf2Hn_Qe=dC1jcLm1V55SROrLw@mail.gmail.com>
	<117311.1762027906@sss.pgh.pa.us>
	<541349.1762275480@sss.pgh.pa.us>
	<7b2cf326-72bc-4681-89a1-c8347f9c32f8@proxel.se>

Andreas Karlsson <andreas@proxel.se> writes:
> Honestly none of the alternatives is very appealing and v6 is probably 
> the least bad.

Yeah, that's about where I'm at with this.

> When I ran into this issue I thought about adding and EMPTY keyword (we 
> do not want more keywords) or adding support for specifying array 
> literals like this [] or [a, b], but that would be confusing since 
> postgresql.conf does not allow any such syntax.

I would have preferred a different keyword.  But AFAICS it'd have to
be a fully-reserved word, and creating a new one of those has to
clear a pretty high bar.  NULL is not so far off...

			regards, tom lane





view thread (23+ messages)  latest in thread

Message-ID: <642906.1762277081@sss.pgh.pa.us>
Permalink:  ../642906.1762277081@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/642906.1762277081@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andreas@proxel.se, andrew.a.klychkov@gmail.com, jim.jones@uni-muenster.de, masao.fujii@gmail.com, pgsql-hackers@lists.postgresql.org
  Subject: Re: [PATCH] Fix ALTER SYSTEM empty string bug for GUC_LIST_QUOTE parameters
  In-Reply-To: <642906.1762277081@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox