Re: pgbench - add \if support

Teodor Sigaev <teodor@sigaev.ru>

From: Teodor Sigaev <teodor@sigaev.ru>
To: Fabien COELHO <coelho@cri.ensmp.fr>, Vik Fearing <vik.fearing@2ndquadrant.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2018-01-12T16:14:22Z
Lists: pgsql-hackers
Hi!

Hm, isn't already commited when/case/then/else syntax do the same? If not, could 
it be added to existing synax?


Fabien COELHO wrote:
> 
>> Here is a rebase. I made some tests use actual expressions instead of just 0 
>> and 1. No other changes.
> 
> Sigh. Better with the attachment. Sorry for the noise.
> 

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/


Commits

  1. Add \if support to pgbench