postgresql/src/fe_utils
Dean Rasheed b4e909082f Fix PL/pgSQL's handling of integer ranges containing underscores.
Commit faff8f8e47 allowed integer literals to contain underscores, but
failed to update the lexer's "numericfail" rule. As a result, a
decimal integer literal containing underscores would fail to parse, if
used in an integer range with no whitespace after the first number,
such as "1_001..1_003" in a PL/pgSQL FOR loop.

Fix and backpatch to v16, where support for underscores in integer
literals was added.

Report and patch by Erik Wienhold.

Discussion: https://postgr.es/m/808ce947-46ec-4628-85fa-3dd600b2c154%40ewie.name
2024-06-04 11:51:25 +01:00
..
.gitignore Move psql's psqlscan.l into src/fe_utils. 2016-03-24 20:28:47 -04:00
archive.c Revert refactoring of restore command code to shell_restore.c 2023-02-06 08:28:42 +09:00
cancel.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
conditional.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
connect_utils.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
mbprint.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
option_utils.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
parallel_slot.c Don't spuriously report FD_SETSIZE exhaustion on Windows. 2023-10-14 15:54:49 -07:00
print.c Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
psqlscan.l Fix PL/pgSQL's handling of integer ranges containing underscores. 2024-06-04 11:51:25 +01:00
query_utils.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
recovery_gen.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
simple_list.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
string_utils.c Update copyright for 2023 2023-01-02 15:00:37 -05:00