pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Todd A. Cook <tcook@blackducksoftware.com>
To: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14932: SELECT DISTINCT val FROM table gets stuck in an infinite loop
Date: Wed, 6 Dec 2017 14:04:56 -0500
Message-ID: <359db34e-2bb1-8bee-4709-2b23ac7b22bd@blackducksoftware.com> (raw )
In-Reply-To: <20171206171923.dg7phzfh7nb4lou3@alap3.anarazel.de >
References: <7a22f496-92b5-d199-984e-183965918304@blackducksoftware.com >
<20171127221041.mezzysc4zcfsqkyc@alap3.anarazel.de >
<CAEepm=3SC9zYLKhvtZbsnwf9vEpi96WCGz1rdGLofuzBau=fqA@mail.gmail.com >
<17357.1511841783@sss.pgh.pa.us >
<9cd29b81-7ba1-91a2-f491-9014f4ac87e6@blackducksoftware.com >
<2a76784c-06cb-46ec-35be-9895d144b839@2ndquadrant.com >
<219b37b2-d740-d04a-203a-49ae422028f7@blackducksoftware.com >
<c15378b3-d4aa-a5c0-5538-dd52904dcbc6@2ndquadrant.com >
<1773c302-2fb1-749f-8ccc-62b23617c5ac@blackducksoftware.com >
<25629.1512580464@sss.pgh.pa.us >
<20171206171923.dg7phzfh7nb4lou3@alap3.anarazel.de >
On 12/06/17 12:19, Andres Freund wrote:
> On 2017-12-06 12:14:24 -0500, Tom Lane wrote:
>> Checking out hashint8() on random data shows no such obvious fault.
>> You've apparently got a data set that exposes a weakness in hashint8,
>> but it's not very clear what that is.
>
> It's intentionally designed to cause problems afaict:
>
> http://archives.postgresql.org/message-id/861b9f1f-cdc0-bc49-2595-80bc39c37dc3%40blackducksoftware.c...
Definitely not intentionally. My wording there could have been better;
perhaps "we expect to get lots of duplicates in that column and we then
need to find the unique values". Eventually, a substantial number of
the duplicates will be deleted, but that's further along in the process.
-- todd
view thread (70+ messages) latest in thread
Message-ID: <359db34e-2bb1-8bee-4709-2b23ac7b22bd@blackducksoftware.com>
Permalink: ../359db34e-2bb1-8bee-4709-2b23ac7b22bd@blackducksoftware.com/
Also on: postgresql.org/message-id/359db34e-2bb1-8bee-4709-2b23ac7b22bd@blackducksoftware.com
copy link · copy postgr.es
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-bugs@postgresql.org
Cc: tcook@blackducksoftware.com, andres@anarazel.de, tgl@sss.pgh.pa.us, tomas.vondra@2ndquadrant.com, thomas.munro@enterprisedb.com
Subject: Re: BUG #14932: SELECT DISTINCT val FROM table gets stuck in an infinite loop
In-Reply-To: <359db34e-2bb1-8bee-4709-2b23ac7b22bd@blackducksoftware.com>
* 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