aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/copyfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-03-06 21:04:25 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-03-06 21:04:25 -0500
commit3899caf772c8dec5c79e553c91f8fc248ca686c9 (patch)
treeb128249dea0d979dc5df240f17c1ac74c272406d /src/backend/nodes/copyfuncs.c
parentfd45d16f6212df15821684b231a44448389fb002 (diff)
downloadpostgresql-3899caf772c8dec5c79e553c91f8fc248ca686c9.tar.gz
postgresql-3899caf772c8dec5c79e553c91f8fc248ca686c9.zip
Fix broken definition for function name in pgbench's exprscan.l.
As written, this would accept e.g. 123e9 as a function name. Aside from being mildly astonishing, that would come back to haunt us if we ever try to add float constants to the expression syntax. Insist that function names start with letters (or at least non-digits). In passing reset yyline as well as yycol when starting a new expression. This variable is useless since it's used nowhere, but if we're going to have it we should have it act sanely.
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
0 files changed, 0 insertions, 0 deletions