postgresql/src/fe_utils
Peter Eisentraut 98b4f53d15 Re-forbid underscore in positional parameters
Underscores were added to numeric literals in faff8f8e47.  This change
also affected the positional parameters (e.g., $1) rule, which uses
the same production for its digits.  But this did not actually work,
because the digits for parameters are processed using atol(), which
does not handle underscores and ignores whatever it cannot parse.

The underscores notation is probably not useful for positional
parameters, so for simplicity revert that rule to its old form that
only accepts digits 0-9.

Author: Erik Wienhold <ewie@ewie.name>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://www.postgresql.org/message-id/flat/5d216d1c-91f6-4cbe-95e2-b4cbd930520c%40ewie.name
2024-05-15 13:49:41 +02:00
..
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
archive.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
cancel.c Centralize logic for restoring errno in signal handlers. 2024-02-14 16:34:18 -06:00
conditional.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
connect_utils.c dblink/isolationtester/fe_utils: Use new cancel API 2024-03-18 19:28:58 +01:00
Makefile Update copyright for 2024 2024-01-03 20:49:05 -05:00
mbprint.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
option_utils.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
parallel_slot.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
print.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
psqlscan.l Re-forbid underscore in positional parameters 2024-05-15 13:49:41 +02:00
query_utils.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
recovery_gen.c Fix an assortment of typos 2024-05-04 02:33:25 +12:00
simple_list.c Update copyright for 2024 2024-01-03 20:49:05 -05:00
string_utils.c Update copyright for 2024 2024-01-03 20:49:05 -05:00