Re: pgsql: Avoid premature free of pass-by-reference CALL arguments.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Avoid premature free of pass-by-reference CALL arguments.
Дата
Msg-id 11488.1521946526@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Avoid premature free of pass-by-reference CALL arguments.  (Andres Freund <andres@anarazel.de>)
Список pgsql-committers
Andres Freund <andres@anarazel.de> writes:
> On 2018-02-10 18:37:17 +0000, Tom Lane wrote:
> CALL ptest1(substring(random()::text, 1, 1));  -- ok, volatile arg

> At first I was gosh darned confused, this really didn't seem likely to
> be an LLVM induced failure. And it turns out it isn't.  If the value
> returned by random() is very small, the text representation switches to
> scientific notation like 8.26204195618629e-05.

Ooops.  I'll do something about that tomorrow.

            regards, tom lane


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add long options to pg_resetwal and pg_controldata
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Add long options to pg_resetwal and pg_controldata