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.1512171409310.8362@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
Re: extend pgbench expressions with functions
List pgsql-hackers
>> (2a) remove double stuff, just keep integer functions.
>>      I would rather keep min/max, though.
>
> (2a) sounds like a fine plan to get something committable. We could keep 
> min/max/abs, and remove sqrt/pi. What's actually the use case for debug? 
> I cannot wrap my mind on one?

It was definitely useful to debug the double/int type stuff within 
expressions when writing a non trivial pgbench script. It is probably less 
interesting if there are only integers.

>> (2b) keep the patch with both int & double as is.
>
> Functions returning double are not that useful... pgbench can live 
> without them.

Sure.

-- 
Fabien.



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Performance improvement for joins where outer side is unique
Next
From: Dilip Kumar
Date:
Subject: Re: parallel joins, and better parallel explain