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

From: Andres Freund <andres(at)anarazel(dot)de>
To: "Todd A(dot) Cook" <tcook(at)blackducksoftware(dot)com>
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:31:18
Message-ID: 20180129183118.rdtm34fshwxlajzm@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

Greetings,

Andres Freund

Attachment Content-Type Size
0001-Backport-Add-inline-murmurhash32-uint32-function.patch text/x-diff 2.7 KB
0002-Improve-bit-perturbation-in-TupleHashTableHash.patch text/x-diff 4.4 KB
0003-Prevent-growth-of-simplehash-tables-when-they-re-too.patch text/x-diff 2.6 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2018-01-29 18:35:10 Re: Database creation taking too long
Previous Message Andres Freund 2018-01-29 18:30:49 Re: BUG #14932: SELECT DISTINCT val FROM table gets stuck in an infinite loop