Re: extend pgbench expressions with functions - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: extend pgbench expressions with functions
Date
Msg-id alpine.DEB.2.10.1602141720370.16754@sto
Whole thread Raw
In response to Re: extend pgbench expressions with functions  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: extend pgbench expressions with functions
List pgsql-hackers
Hello Michaël,

>> I'll be happy if you do the review of the resulting split.
>
> OK, I am fine with this scenario as well. I have luckily done nothing yet.

Here is a 3 part v29:

a) add support for integer functions in pgbench, including turning   operators as functions, as well as some minimal
infrastructurefor   additional types (this allows to minimize the diffs with the next   patch which adds double).
 

b) add support for doubles, including setting double variables.   Note that variable are not explicitely typed. Add
some  double-related functions, most interesting of them for pgbench   are the randoms.
 

c) remove \setrandom support (as thanks to part b \set x random(...) does   the same). Prints an error pointing to the
replacementif \setrandom is   used in a pgbench script.
 

-- 
Fabien.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Removing Functionally Dependent GROUP BY Columns
Next
From: Tom Lane
Date:
Subject: Re: proposal: enhancing slow query log, and autoexplain log about waiting on lock before query exec time