Re-allow underscore as first character of custom GUC names.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 23 Feb 2022 16:10:46 +0000 (11:10 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 23 Feb 2022 16:10:46 +0000 (11:10 -0500)
commitdd7c0597918a6922a43a1f2e7085e6276a6216ec
tree09a518e8eabb271d70a6462d802014f8409eba9b
parent627c79a1e87d9ec4a8a8a0c5be8564ba74e221ea
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
src/backend/utils/misc/guc.c