Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YDa6q-0007vD-I0 for pgsql-docs@arkaria.postgresql.org; Tue, 20 Jan 2015 14:48:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YDa6p-0007oJ-UC for pgsql-docs@arkaria.postgresql.org; Tue, 20 Jan 2015 14:48:47 +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 1YDa6o-0007m6-U2 for pgsql-docs@postgresql.org; Tue, 20 Jan 2015 14:48:47 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YDa6l-0002xA-W9 for pgsql-docs@postgresql.org; Tue, 20 Jan 2015 14:48:45 +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 t0KEmftC010374; Tue, 20 Jan 2015 09:48:41 -0500 From: Tom Lane To: Thom Brown cc: pgsql-docs Subject: Re: Aggregate expression syntax In-reply-to: References: Comments: In-reply-to Thom Brown message dated "Tue, 20 Jan 2015 13:50:22 +0000" Date: Tue, 20 Jan 2015 09:48:41 -0500 Message-ID: <10373.1421765321@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Thom Brown writes: > Looking at the syntax for aggregate expressions in the docs, it seems the > first three forms could perhaps be merged since the ALL and DISTINCT > keywords are effectively optional. Dunno, just seems harder to read to me... regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs