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