aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-05-15 13:49:41 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-05-15 13:54:00 +0200
commit315661ecafbcbb23116cceea2ea80657d7763af0 (patch)
treea810b2f543a15be0e9493233faf712bf72e63c62 /src/backend/executor/nodeModifyTable.c
parent987ab19ec9260618b36c186e0777f0bd43b8ded1 (diff)
downloadpostgresql-315661ecafbcbb23116cceea2ea80657d7763af0.tar.gz
postgresql-315661ecafbcbb23116cceea2ea80657d7763af0.zip
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
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions