Re: Removing \cset from pgbench

2019-03-25 Thread Alvaro Herrera
On 2019-Mar-23, Fabien COELHO wrote: > > Per your request, here is a patch which removes \cset from pgbench. Sigh. > > Again, only the removal is a little deeper. This lifts the constraint about > not using empty queries in a compound statement, at the price of some added > logic to detect the la

Re: Removing \cset from pgbench

2019-03-23 Thread Fabien COELHO
What I'm going to do now is to write a patch to remove the \cset part of the commit and post it, intending to push at some point next week. Per your request, here is a patch which removes \cset from pgbench. Sigh. Again, only the removal is a little deeper. This lifts the constraint about n

Re: Removing \cset from pgbench

2019-03-22 Thread Fabien COELHO
Hola Álvaro, What I'm going to do now is to write a patch to remove the \cset part of the commit and post it, intending to push at some point next week. Per your request, here is a patch which removes \cset from pgbench. Sigh. -- Fabien.diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sg

Re: Removing \cset from pgbench

2019-02-02 Thread Fabien COELHO
Hola Alvaro, In reply to https://postgr.es/m/alpine.DEB.2.21.1901102211350.27692@lancre wherein Fabien wrote: I'm not very happy with the resulting syntax, but IMO the feature is useful. My initial design was to copy PL/pgSQL "into" with some "\into" orthogonal to \; and ;, but the implementa