aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-03-06 21:45:34 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-03-06 21:45:34 -0500
commit94f1adccd36df3ad75d2c257c9ae1ca448f3e4ac (patch)
tree34723dc8aeb7d7523a55ae248a12686068cf7b9a /src
parent3899caf772c8dec5c79e553c91f8fc248ca686c9 (diff)
downloadpostgresql-94f1adccd36df3ad75d2c257c9ae1ca448f3e4ac.tar.gz
postgresql-94f1adccd36df3ad75d2c257c9ae1ca448f3e4ac.zip
Re-fix broken definition for function name in pgbench's exprscan.l.
Wups, my first try wasn't quite right either. Too focused on fixing the existing bug, not enough on not introducing new ones.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pgbench/exprscan.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pgbench/exprscan.l b/src/bin/pgbench/exprscan.l
index cb51a98fd6b..fc7615f5585 100644
--- a/src/bin/pgbench/exprscan.l
+++ b/src/bin/pgbench/exprscan.l
@@ -61,7 +61,7 @@ space [ \t\r\f]
yylval.ival = strtoint64(yytext);
return INTEGER;
}
-{alpha}{alnum}+ {
+{alpha}{alnum}* {
yycol += yyleng;
yylval.str = pg_strdup(yytext);
return FUNCTION;