Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y3Cfg-0003vA-Jk for pgsql-committers@arkaria.postgresql.org; Mon, 22 Dec 2014 23:45:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y3Cfg-0001GZ-3Q for pgsql-committers@arkaria.postgresql.org; Mon, 22 Dec 2014 23:45:52 +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 1Y3Cff-0001GS-3v for pgsql-committers@postgresql.org; Mon, 22 Dec 2014 23:45:51 +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 1Y3CfX-0004Jh-UY for pgsql-committers@postgresql.org; Mon, 22 Dec 2014 23:45:49 +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 sBMNjfv7004300; Mon, 22 Dec 2014 18:45:41 -0500 From: Tom Lane To: Andrew Dunstan cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Fix documentation of argument type of json_agg and jsonb_agg In-reply-to: <5498A4D6.8060107@dunslane.net> References: <31842.1419276862@sss.pgh.pa.us> <5498A4D6.8060107@dunslane.net> Comments: In-reply-to Andrew Dunstan message dated "Mon, 22 Dec 2014 18:10:14 -0500" Date: Mon, 22 Dec 2014 18:45:41 -0500 Message-ID: <4299.1419291941@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-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Andrew Dunstan writes: > On 12/22/2014 02:34 PM, Tom Lane wrote: >> The actual declaration of the argument type is "anyelement", and I think >> we use that to document other such functions. > Oh, I thought I had seen "expression" there. It looks like we're using > "any" elsewhere, so I'll use that. While I'm at it I'll remove the quote > marks around the arguments to json_object_agg(). [ looks around... ] Looks like there are some of each. Don't know how important consistency is here; I'm satisfied with "any", even though it doesn't exactly match the catalogs. regards, tom lane -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers