Re: pgbench - allow to store select results into variables
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Tatsuo Ishii <ishii@sraoss.co.jp>, rafia.sabih@enterprisedb.com, Michael Paquier <michael.paquier@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>,
Robert Haas <robertmhaas@gmail.com>, PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2017-08-13T19:45:29Z
Lists: pgsql-hackers
Hi 2017-08-13 20:33 GMT+02:00 Fabien COELHO <coelho@cri.ensmp.fr>: > > Here is a v11. > > It is basically a simple rebase after Tom committed the "pgbench -M order" > patch. It interfered because the compound command management also needs > to delay part of the SQL command initialization. Some patch are luckier > than others:-) > > Here is a v10: >> >> - does not talk about ASCII variable name constraint, as a patch has been >> submitted independently to lift this constraint. >> >> - rename gcset to cset (compound set, \; + \set), where gset is ; + \set, >> because "\gcset" looked really strange. >> >> - simplify the code a little bit. >> >> Also attached is an updated test script. >> >> looks little bit strange, but it has sense +1 Pavel >> > -- > Fabien.
Commits
-
pgbench: Remove \cset
- 25ee70511ec2 12.0 landed
-
pgbench: add \cset and \gset commands
- 6260cc550b0e 12.0 landed
-
Adjust pgbench to allow non-ASCII characters in variable names.
- 9d36a386608d 11.0 landed
-
Refactor script execution state machine in pgbench.
- 12788ae49e19 10.0 cited
-
Allow empty queries in pgbench.
- 6471045230f5 10.0 cited