Improve pgbench error reporting.

Robert Haas <rhaas@postgresql.org>

Commit: e41beea0ddb74ef975f08b917a354ec33cb60830
Author: Robert Haas <rhaas@postgresql.org>
Date: 2015-04-02T20:26:49Z
Releases: 9.5.0
Improve pgbench error reporting.

This would have been worth doing on general principle anyway, but the
recent addition of an expression syntax to pgbench makes it an even
better idea than it would have been otherwise.

Fabien Coelho

Files

PathChange+/−
contrib/pgbench/exprscan.l modified +27 −6
contrib/pgbench/pgbench.c modified +57 −30
contrib/pgbench/pgbench.h modified +6 −1