Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UvbDU-00079N-BD for pgsql-bugs@arkaria.postgresql.org; Sat, 06 Jul 2013 22:44:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UvbDS-0006fr-U1 for pgsql-bugs@arkaria.postgresql.org; Sat, 06 Jul 2013 22:44:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UvbDR-0006fi-0k for pgsql-bugs@postgresql.org; Sat, 06 Jul 2013 22:44:29 +0000 Received: from mail-ee0-x233.google.com ([2a00:1450:4013:c00::233]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UvbDN-0006lk-72 for pgsql-bugs@postgresql.org; Sat, 06 Jul 2013 22:44:27 +0000 Received: by mail-ee0-f51.google.com with SMTP id e52so2082230eek.10 for ; Sat, 06 Jul 2013 15:44:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=cYPb4gxKHO0k32+GexrcJjnAEZaLB3Czad3+g62y5WU=; b=bbBEqQbJX4OtsvVqUmrjGFFBkawl8CEqWriMqeSg+DhHoy2qMbsn/4hi/K54wU+WUj UmJQ2c2l+7E1K6W/cFYZ4VJKUMD8Dxg0GOk4wE/ZiOr3EHji2lYTKKan0EnrqFdDX8Du YoXlG9Z9dVZ2VHQgrjdaLLjgMJciL+lZ4m4UBb1Z3A1n6kETsWV7iH+tNPFkVIpK9ci6 5U2Y6T8E4Io5P/a5GTRv9lbYql7CAQ4pfOFMFTyISoTrk35y9SwrYSj3eqHPimQRi1R8 eupkrQUXgbykiBEqwZEcJtDj1o5T+Ln7eCNomLcGv5dVLAf2mIJt5n/axNNtCs8ojd9n 9kwA== X-Received: by 10.14.4.70 with SMTP id 46mr17550450eei.42.1373150664126; Sat, 06 Jul 2013 15:44:24 -0700 (PDT) Received: from [10.0.0.220] (095160080015.police.vectranet.pl. [95.160.80.15]) by mx.google.com with ESMTPSA id w43sm27645430eez.6.2013.07.06.15.44.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 06 Jul 2013 15:44:23 -0700 (PDT) Message-ID: <51D89DC2.1050008@gmail.com> Date: Sun, 07 Jul 2013 00:44:18 +0200 From: lindebg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #8287: select distinct / select group by - Invalid result References: <26181.1373145734@sss.pgh.pa.us> In-Reply-To: <26181.1373145734@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org W dniu 2013-07-06 23:22, Tom Lane pisze: > 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=841c9b6ba151ed5a41733ec345bf9bf32a55f4dc > > regards, tom lane Thank you for your response. This problem does not exist in the branch REL9_2_STABLE. Regards, Jacek -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs