Re-allow underscore as first character of custom GUC names.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/misc/guc.c | modified | +2 −2 |
Discussion
- BUG #17415: Unable to use underscore as first character in set_config custom parameter 3 messages · 2022-02-23