Re: BUG #14932: SELECT DISTINCT val FROM table gets stuck in an infinite loop

From: "Todd A(dot) Cook" <tcook(at)blackducksoftware(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14932: SELECT DISTINCT val FROM table gets stuck in an infinite loop
Date: 2018-01-29 18:56:37
Message-ID: 633f3730-0cba-9aed-2724-3ae4295bb0b2@blackducksoftware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 01/29/18 13:31, Andres Freund wrote:
> On 2018-01-29 13:20:25 -0500, Todd A. Cook wrote:
>> I applied 0001 and 0002 to REL_10_STABLE at 1b2a3860d3ea81825e9bbad2c7dbf66db87445c1
>> and got the following build error:
>>
>> execGrouping.c:26:29: fatal error: utils/hashutils.h: No such file or directory
>> #include "utils/hashutils.h"
>
> Yea, there's some minor differences from master to the 10 branch,
> needing to backport one commit beforehand. Attached are three patches
> applying to 10.

Thanks.

With those patches applied, I'm able to process a 175 million row data set
without any problems. I'll try the 900 million row set next.

-- todd

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-01-29 19:11:26 Re: BUG #14932: SELECT DISTINCT val FROM table gets stuck in an infinite loop
Previous Message Tom Lane 2018-01-29 18:45:10 Re: BUG #14932: SELECT DISTINCT val FROM table gets stuck in an infinite loop