Re: extend pgbench expressions with functions

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: extend pgbench expressions with functions
Дата
Msg-id alpine.DEB.2.10.1602131616210.3721@sto
обсуждение исходный текст
Ответ на Re: extend pgbench expressions with functions  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: extend pgbench expressions with functions  (Michael Paquier <michael.paquier@gmail.com>)
Re: extend pgbench expressions with functions  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pg_basebackup vs WAL fetching
Следующее
От: Christian Ullrich
Дата:
Сообщение: Re: Crash with old Windows on new CPU