Skip to content
Snippets Groups Projects
Commit 94f1adcc authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 3899caf7
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ space [ \t\r\f] ...@@ -61,7 +61,7 @@ space [ \t\r\f]
yylval.ival = strtoint64(yytext); yylval.ival = strtoint64(yytext);
return INTEGER; return INTEGER;
} }
{alpha}{alnum}+ { {alpha}{alnum}* {
yycol += yyleng; yycol += yyleng;
yylval.str = pg_strdup(yytext); yylval.str = pg_strdup(yytext);
return FUNCTION; return FUNCTION;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment