pgsql: Minor code cleanups in pgbench expression support. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Minor code cleanups in pgbench expression support.
Date
Msg-id E1YcGfx-0000Pb-17@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Minor code cleanups in pgbench expression support.

Get rid of unnecessary expr_yylex declaration (we haven't supported
flex 2.5.4 in a long time, and even if we still did, the declaration in
pgbench.h makes this one unnecessary and inappropriate).  Fix copyright
dates, improve some layout choices, etc.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e9dd03c03aeed6486129e3101695b13d469c2985

Modified Files
--------------
contrib/pgbench/exprparse.y |    4 +++-
contrib/pgbench/exprscan.l  |   25 ++++++++++++++-----------
contrib/pgbench/pgbench.h   |    5 ++---
3 files changed, 19 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Better fix for misuse of Float8GetDatumFast().
Next
From: Tom Lane
Date:
Subject: pgsql: Remove a couple other vestigial yylex() declarations.