Re: extend pgbench expressions with functions

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: extend pgbench expressions with functions
Date: 2016-02-14 20:21:51
Message-ID: CA+TgmoZO6fZr4tx7Kus9Q4JsP1Lyn61T2w+xj=zaqwgSiiH87g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Feb 14, 2016 at 11:28 AM, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> wrote:
> Here is a 3 part v29:
>
> a) add support for integer functions in pgbench, including turning
> operators as functions, as well as some minimal infrastructure for
> 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 replacement if \setrandom is
> used in a pgbench script.

Thanks, I'll review these as soon as I can get to it.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-02-14 20:22:22 Re: Freeze avoidance of very large table.
Previous Message Robert Haas 2016-02-14 19:02:08 Re: [COMMITTERS] pgsql: Introduce group locking to prevent parallel processes from deadl