Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e6NXS-0004vy-RS for pgsql-bugs@arkaria.postgresql.org; Sun, 22 Oct 2017 21:12:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e6NXR-0000sW-Sx for pgsql-bugs@arkaria.postgresql.org; Sun, 22 Oct 2017 21:12:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e6NWh-0006nU-Or; Sun, 22 Oct 2017 21:11:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e6NWa-0000hz-7n; Sun, 22 Oct 2017 21:11:19 +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 v9MLB9S3013329; Sun, 22 Oct 2017 17:11:09 -0400 From: Tom Lane To: Andrew Dunstan cc: Michael Paquier , Dmitry Dolgov <9erthalion6@gmail.com>, Marko Tiikkaja , PostgreSQL mailing lists , PostgreSQL-development Subject: Re: BUG #14849: jsonb_build_object doesn't like VARIADIC calls very much In-reply-to: References: <20171011020058.27986.42308@wrigleys.postgresql.org> <18157.1508600622@sss.pgh.pa.us> <20566.1508604219@sss.pgh.pa.us> Comments: In-reply-to Andrew Dunstan message dated "Sun, 22 Oct 2017 16:50:00 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13327.1508706669.1@sss.pgh.pa.us> Date: Sun, 22 Oct 2017 17:11:09 -0400 Message-ID: <13328.1508706669@sss.pgh.pa.us> 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 Andrew Dunstan writes: > Sorry. Here it is. This comment is neither correct nor intelligible: /* important for value, key cannot being NULL */ I'd say just drop it. The checks for "could not determine data type" errors seem rather duplicative, too. The extern declaration seems to have been dropped in a rather random place in the .h file. Looks good otherwise. 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