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.1602131616210.3721@sto
Whole thread Raw
In response to Re: extend pgbench expressions with functions  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: extend pgbench expressions with functions
Re: extend pgbench expressions with functions
List pgsql-hackers
> But variables can still only be integers.

Version 28 attached has double variables, although typing is based on 
guessing because it is just a string.

Any comment?

> [...] two separate enhancements in here.  One of them is to support a 
> new data type (doubles) and the other is to support functions.

The two features are highly intermix, so it can only be dependent patches, 
first to add a function infrastructure and probably some support for 
doubles altough it would not be used, then to add doubles & their 
functions.

A real pain is the documentation, because it means writing a documentation 
with only integer functions, then overwriting it with doubles. This is 
dumb work, really, for the sake of "a cleaner git history", the beauty of 
it no one will ever contemplate...

-- 
Fabien.

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: pg_basebackup vs WAL fetching
Next
From: Christian Ullrich
Date:
Subject: Re: Crash with old Windows on new CPU