Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X3Equ-0003mo-O5 for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Jul 2014 01:33:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X3Equ-0002vJ-31 for pgsql-hackers@arkaria.postgresql.org; Sat, 05 Jul 2014 01:33:20 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X3Eqs-0002v9-Qc for pgsql-hackers@postgresql.org; Sat, 05 Jul 2014 01:33:18 +0000 Received: from mimolette.dalibo.net ([212.85.154.222]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X3Eqp-0001I4-DW for pgsql-hackers@postgresql.org; Sat, 05 Jul 2014 01:33:17 +0000 Received: from [192.168.0.4] (ath91-3-88-167-161-184.fbx.proxad.net [88.167.161.184]) by mimolette.dalibo.net (Postfix) with ESMTPSA id 2611150808EF; Sat, 5 Jul 2014 03:32:13 +0200 (CEST) Message-ID: <53B7559B.2070408@dalibo.com> Date: Sat, 05 Jul 2014 03:32:11 +0200 From: Vik Fearing User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Andrew Gierth , Tom Lane CC: pgsql-hackers@postgresql.org, Atri Sharma Subject: Re: Aggregate function API versus grouping sets References: <87r424i24w.fsf@news-spur.riddles.org.uk> <2240.1404312004@sss.pgh.pa.us> <87egy3itnx.fsf@news-spur.riddles.org.uk> <18963.1404326824@sss.pgh.pa.us> <87fvijh7hv.fsf@news-spur.riddles.org.uk> <21474.1404331405@sss.pgh.pa.us> <87a98rh69d.fsf@news-spur.riddles.org.uk> In-Reply-To: <87a98rh69d.fsf@news-spur.riddles.org.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 07/02/2014 10:15 PM, Andrew Gierth wrote: > (Had one request so far for a mode() variant that returns the unique > modal value if one exists, otherwise null; so the current set of > ordered-set aggs by no means exhausts the possible applications.) I resemble that remark. :) But seriously, am I the only one who doesn't want some random value when there is no dominant one? And the fact that I can't create my own without C code is a real bummer. -- Vik -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers