Re: pgbench - test whether a variable exists - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: pgbench - test whether a variable exists
Date
Msg-id alpine.DEB.2.20.1803241021190.13537@lancre
Whole thread Raw
In response to pgbench - test whether a variable exists  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pgbench - test whether a variable exists  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
> While investigating moving pgbench expressions to fe_utils so that they can 
> be shared with psql (\if ..., \let ?), I figure out that psql's \if has a 
> syntax to test whether a variable exists, which is not yet available to 
> pgbench.
>
> This patch adds the same syntax to pgbench expression so that they can 
> represent this expression, already accepted by psql's \if.
>
> Note that it is not really that useful for benchmarking, although it does not 
> harm.

Patch v2 is a rebase.

-- 
Fabien.
Attachment

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: pgbench randomness initialization
Next
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] pgbench - allow to store select results intovariables