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)
commitbd74c4037c4ee268db46e983bcc0f1e0a9f7ab72
treec203ad19d9e9751bbf6fc91ed37662e2bc9714d0
parent0475a97f744d2fea3676b2e69405d20358eac07a
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