projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3899caf
)
Re-fix broken definition for function name in pgbench's exprscan.l.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 7 Mar 2016 02:45:34 +0000
(21:45 -0500)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 7 Mar 2016 02:45:34 +0000
(21:45 -0500)
Wups, my first try wasn't quite right either. Too focused on fixing
the existing bug, not enough on not introducing new ones.
src/bin/pgbench/exprscan.l
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pgbench/exprscan.l
b/src/bin/pgbench/exprscan.l
index cb51a98fd6b4be3551fee054f13027436a24c53f..fc7615f55859552c1fa72b8ef4cc8bd3a2275366 100644
(file)
--- 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;