Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tzgif-0008FC-2t for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Jan 2013 04:53:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1Tzgie-00014g-12 for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Jan 2013 04:53:20 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tzgid-00014a-2H for pgsql-bugs@postgresql.org; Mon, 28 Jan 2013 04:53:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Tzgia-0005RH-OS for pgsql-bugs@postgresql.org; Mon, 28 Jan 2013 04:53:18 +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 r0S4rGxC018794; Sun, 27 Jan 2013 23:53:16 -0500 (EST) From: Tom Lane To: acamari@verlet.org cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7831: user defined-aggregated don't set initcond to null when unspecified, instead uses its first argument In-reply-to: References: Comments: In-reply-to acamari@verlet.org message dated "Mon, 28 Jan 2013 03:19:13 +0000" Date: Sun, 27 Jan 2013 23:53:15 -0500 Message-ID: <18793.1359348795@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) 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 acamari@verlet.org writes: > user defined-aggregated don't set initcond to null when unspecified, instead > uses its first argument. And your point is? AFAICS this is the documented behavior when the transition function is strict. See http://www.postgresql.org/docs/9.1/static/sql-createaggregate.html 6th paragraph under "Description". 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