Re: pow support for pgbench

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Raúl Marín Rodríguez <rmrodriguez@carto.com>, PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2017-10-30T16:17:42Z
Lists: pgsql-hackers
Hello Michaël,

I'm fine with having pow in pgbench.

> I am adding as well Fabien in CC who worked in getting the internal
> function infrastructure in the shape it is now (waaay better) with
> commit 86c43f4.

It might be even better if https://commitfest.postgresql.org/15/985/, 
which has been around for over one year (!), get through some day...

-- 
Fabien.

Commits

  1. Add pow(), aka power(), function to pgbench.

  2. pgbench: Support double constants and functions.