BUG #17415: Unable to use underscore as first character in set_config custom parameter
The Post Office <noreply@postgresql.org>
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: danielpolski@gmail.com
Date: 2022-02-23T08:36:19Z
Lists: pgsql-bugs
The following bug has been logged on the website:
Bug reference: 17415
Logged by: Daniel Polski
Email address: danielpolski@gmail.com
PostgreSQL version: 14.2
Operating system: Linux
Description:
SELECT set_config('_foo.bar', 'foo', FALSE);
ERROR: invalid configuration parameter name "_foo.bar"
DETAIL: Custom parameter names must be two or more simple identifiers
separated by dots.
SQL state: 42602
(Works in 13.5-2)
Commits
-
Re-allow underscore as first character of custom GUC names.
- dd7c0597918a 14.3 landed
- bd74c4037c4e 15.0 landed
-
Tighten up allowed names for custom GUC parameters.
- 3db826bd55cd 14.0 cited