pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-committers@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: pgsql: Avoid premature free of pass-by-reference CALL arguments.
Date: Sat, 24 Mar 2018 22:55:26 -0400
Message-ID: <11488.1521946526@sss.pgh.pa.us> (raw)
In-Reply-To: <20180324212502.wt4serghfidge2on@alap3.anarazel.de>
References: <E1eka1V-0002Ed-A3@gemulon.postgresql.org>
	<20180324212502.wt4serghfidge2on@alap3.anarazel.de>

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




view thread (3+ messages)

Message-ID: <11488.1521946526@sss.pgh.pa.us>
Permalink:  ../11488.1521946526@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11488.1521946526@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, peter_e@gmx.net, pgsql-hackers@postgresql.org
  Subject: Re: pgsql: Avoid premature free of pass-by-reference CALL arguments.
  In-Reply-To: <11488.1521946526@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox