Extend pgbench's expression syntax to support a few built-in functions.
Fabien Coelho, reviewed mostly by Michael Paquier and me, but also by
Heikki Linnakangas, BeomYong Lee, Kyotaro Horiguchi, Oleksander
Shulgin, and Álvaro Herrera.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/7e137f846df2431ce9c61202dcea21ee4a6d7822
Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml | 64 +++++++++++-
src/bin/pgbench/exprparse.y | 161 +++++++++++++++++++++++++++---
src/bin/pgbench/exprscan.l | 20 +++-
src/bin/pgbench/pgbench.c | 221 ++++++++++++++++++++++++++++--------------
src/bin/pgbench/pgbench.h | 40 +++++++-
5 files changed, 409 insertions(+), 97 deletions(-)