Re: Tightening up allowed custom GUC names - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Tightening up allowed custom GUC names
Date
Msg-id 1593065.1617809014@sss.pgh.pa.us
Whole thread Raw
In response to Tightening up allowed custom GUC names  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I wrote:
> We can't allow '-', for the specific reason that it won't work as a -c
> argument (thanks to -c's translation of '-' to '_').  The whole point here
> is to prevent corner cases like that.  ':' would be all right, but I think
> it's a lot simpler to explain and a lot harder to break in future if we
> just say that the names have to be valid identifiers.

Hearing no further comments, I pushed the more restrictive version.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Pavel Borisov
Date:
Subject: Re: [PATCH] Improve treatment of page special and page header alignment during page init.
Next
From: Tomas Vondra
Date:
Subject: Re: WIP: WAL prefetch (another approach)