1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-22 23:02:54 +03:00

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.
This commit is contained in:
Tom Lane 2016-03-06 21:45:34 -05:00
parent 3899caf772
commit 94f1adccd3

View File

@ -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;