Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Td31a-0006zG-Bn for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Nov 2012 18:03:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Td31Z-0001pj-F4 for pgsql-bugs@arkaria.postgresql.org; Mon, 26 Nov 2012 18:03:17 +0000 Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Td30D-0001pO-JK for pgsql-bugs@postgresql.org; Mon, 26 Nov 2012 18:01:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Td308-0008Rz-3p for pgsql-bugs@postgresql.org; Mon, 26 Nov 2012 18:01:53 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qAQI1jnx018648; Mon, 26 Nov 2012 13:01:45 -0500 (EST) From: Tom Lane To: maxim.boguk@gmail.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7703: Error with partitioning with distinct over aggregate In-reply-to: References: Comments: In-reply-to maxim.boguk@gmail.com message dated "Sun, 25 Nov 2012 23:21:23 +0000" Date: Mon, 26 Nov 2012 13:01:45 -0500 Message-ID: <18647.1353952905@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) 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 maxim.boguk@gmail.com writes: > test=# create table test (id serial); > NOTICE: CREATE TABLE will create implicit sequence "test_id_seq" for serial > column "test.id" > CREATE TABLE > test=# create index test_id_key on test(id); > CREATE INDEX > test=# create table test_part_1 (like test including all) INHERITS (test); > NOTICE: merging column "id" with inherited definition > CREATE TABLE > test=# explain analyze select distinct min(id) from test; > ERROR: failed to re-find MinMaxAggInfo record Fixed, thanks for the report. 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