Add backslash continuations to pgbench custom scripts.
The benefit of this approach is that it is upward compatible, and it is
also pretty simple to implement. The downside is that backslash
continuation is not the best syntax ever invented, but then you do not
have to use it if you do not like it.
The alternative would be to make semi-colon a mandatory end-of-line
marker, which would introduce an incompatibility and requires more efforts
to implement, including some kind of SQL-compatible lexer.
IMHO this approach is the best compromise.
--
Fabien.