Re: [BUGS] Crash with a CUBE query on 9.6 - Mailing list pgsql-bugs

From David Rowley
Subject Re: [BUGS] Crash with a CUBE query on 9.6
Date
Msg-id CAKJS1f8nqAMcat+db1cYNcjmtHUGP1nBVu8-9o+A-fC+hEeOhw@mail.gmail.com
Whole thread Raw
In response to Re: [BUGS] Crash with a CUBE query on 9.6  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-bugs
On 20 December 2016 at 20:24, Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> postgres=# select avg(distinct one::numeric), sum(distinct one::numeric)
> from (values(1),(3),(1)) t(one);
> server closed the connection unexpectedly
>         This probably means the server terminated abnormally
>         before or while processing the request.
> The connection to the server was lost. Attempting reset: Succeeded.
>
> Fixed the expected output, and committed. Thanks!

Many thanks for fixing this Heikki, and Tom for the investigation.

Sorry for not chipping in or helping. It was summer holiday time down
this end of the planet.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14479: Casting non-constant values to INTERVAL DAY TO MINUTE doesn't truncate the seconds field
Next
From: Michael Paquier
Date:
Subject: Re: [BUGS] pg_receivexlog creating holes in WAL (HEAD only)