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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: dd7c0597918a6922a43a1f2e7085e6276a6216ec
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-02-23T16:10:46Z
Releases: 14.3
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

Files

PathChange+/−
src/backend/utils/misc/guc.c modified +2 −2

Discussion