>> v3, just a rebase.
>
> Thanks for working on this.  I see it's already registered in the
> 2015-06 CF, and will have a look at when we get there.
v4, rebase (after pgbench moved to src) and use of the recently added 
syntax_error function.
-- 
Fabien.