From: Tom Lane <tgl@sss.pgh.pa.us>
To: lindebg@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8287: select distinct / select group by - Invalid result
Date: Sat, 06 Jul 2013 17:22:14 -0400
Message-ID: <26181.1373145734@sss.pgh.pa.us> (raw)
In-Reply-To: <E1UvZIZ-0003LO-DK@wrigleys.postgresql.org>
References: <E1UvZIZ-0003LO-DK@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
lindebg@gmail.com writes:
> I wanted to report an incorrect execution of the query SELECT DISTINCT... :
FWIW, this example doesn't seem to misbehave for me in HEAD or 9.2
branch tip. I suspect that this is a variant of bug #8049, which was
fixed recently. It could be though that you're reporting some other
problem but there are special circumstances (such as nondefault planner
settings) needed to make it manifest. You could try applying this patch
to see if the problem goes away for you:
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=841c9b6ba151ed5a41733ec345bf9bf32a...
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, lindebg@gmail.com
Subject: Re: BUG #8287: select distinct / select group by - Invalid result
In-Reply-To: <26181.1373145734@sss.pgh.pa.us>
References: <E1UvZIZ-0003LO-DK@wrigleys.postgresql.org> <26181.1373145734@sss.pgh.pa.us>
* 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