Re: Null pointer passed as source to memcpy() in numeric.c:make_result() and numeric:set_var_from_var()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Piotr Stefaniak <postgres(at)piotr-stefaniak(dot)me>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Null pointer passed as source to memcpy() in numeric.c:make_result() and numeric:set_var_from_var()
Date: 2015-08-02 19:49:21
Message-ID: 4077.1438544961@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Piotr Stefaniak <postgres(at)piotr-stefaniak(dot)me> writes:
> these two queries will make the assertions below fail:
> SELECT STDDEV(0.0);
> SELECT 0.0 * 0;

Fixed, thanks.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-08-02 20:00:11 Re: upgrade failure from 9.5 to head
Previous Message Tom Lane 2015-08-02 18:57:27 Re: Explanation for intermittent buildfarm pg_upgradecheck failures