Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VvaF8-0001X5-GX for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Dec 2013 22:14:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VvaF8-0007pb-0f for pgsql-bugs@arkaria.postgresql.org; Tue, 24 Dec 2013 22:14:26 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VvaF7-0007pV-Dn for pgsql-bugs@postgresql.org; Tue, 24 Dec 2013 22:14:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VvaF4-00049a-SE for pgsql-bugs@postgresql.org; Tue, 24 Dec 2013 22:14:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id rBOMEKsL007897; Tue, 24 Dec 2013 17:14:20 -0500 From: Tom Lane To: Jeff Davis cc: pgsql-bugs@postgresql.org Subject: Re: assertion failure in WITHIN GROUP patch In-reply-to: <1387911540.19125.430.camel@jdavis> References: <1387911540.19125.430.camel@jdavis> Comments: In-reply-to Jeff Davis message dated "Tue, 24 Dec 2013 10:59:00 -0800" Date: Tue, 24 Dec 2013 17:14:20 -0500 Message-ID: <7896.1387923260@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) 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 Jeff Davis writes: > TRAP: FailedAssertion("!(pointer != ((void*)0))", File: "mcxt.c", Line: > 699) > LOG: server process (PID 18750) was terminated by signal 6: Aborted > DETAIL: Failed process was running: select percentile_cont(0.5) within > group (order by a) from big; Argh. I'd meant to go back and test that code path in tuplesort_skiptuples(), but forgot to. Fixed, thanks. 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