pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Re-allow underscore as first character of custom GUC names.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Re-allow underscore as first character of custom GUC names.
@ 2022-02-23 16:10  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2022-02-23 16:10 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Re-allow underscore as first character of custom GUC names.

Commit 3db826bd5 intended that valid_custom_variable_name's
rules for valid identifiers match those of scan.l.  However,
I (tgl) had some kind of brain fade and put "_" in the wrong
list.

Fix by Japin Li, per bug #17415 from Daniel Polski.

Discussion: https://postgr.es/m/17415-ebdb683d7e09a51c@postgresql.org

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dd7c0597918a6922a43a1f2e7085e6276a6216ec

Modified Files
--------------
src/backend/utils/misc/guc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Re-allow underscore as first character of custom GUC names.
@ 2022-02-23 16:10  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2022-02-23 16:10 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Re-allow underscore as first character of custom GUC names.

Commit 3db826bd5 intended that valid_custom_variable_name's
rules for valid identifiers match those of scan.l.  However,
I (tgl) had some kind of brain fade and put "_" in the wrong
list.

Fix by Japin Li, per bug #17415 from Daniel Polski.

Discussion: https://postgr.es/m/17415-ebdb683d7e09a51c@postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bd74c4037c4ee268db46e983bcc0f1e0a9f7ab72

Modified Files
--------------
src/backend/utils/misc/guc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-02-23 16:10 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23 16:10 pgsql: Re-allow underscore as first character of custom GUC names. Tom Lane <tgl@sss.pgh.pa.us>
2022-02-23 16:10 pgsql: Re-allow underscore as first character of custom GUC names. Tom Lane <tgl@sss.pgh.pa.us>

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