Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e5Adw-00051J-2c for pgsql-bugs@arkaria.postgresql.org; Thu, 19 Oct 2017 13:13:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e5Adv-0006H6-Lq for pgsql-bugs@arkaria.postgresql.org; Thu, 19 Oct 2017 13:13:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e5Adu-0006GQ-Q7 for pgsql-bugs@postgresql.org; Thu, 19 Oct 2017 13:13:46 +0000 Received: from mail-yw0-x232.google.com ([2607:f8b0:4002:c05::232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1e5Ads-00012u-98 for pgsql-bugs@postgresql.org; Thu, 19 Oct 2017 13:13:45 +0000 Received: by mail-yw0-x232.google.com with SMTP id k3so3428366ywk.8 for ; Thu, 19 Oct 2017 06:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=M/ceggId8ZGgwz/eyon6dS9nYolCdMldS7Kq31ikkMg=; b=IaZT4ftBCgYnE92yoobDm41Rd6Y8TE9ivx0aNsvFNv+1RWBV4tyUB3R5pL/d81TQ7C cpNGvO094kXr8CnQOB4xAWizMy+/BAzbCJzL1c9ph86lFpVq6pRTSbn4m6+mASrE7IEM VvEBA59yc/LzCLubST8nP2QI1GUi4qpGqgvdO5rVab7axiztccCGSvvQT2bCUrmfkK9Y tp4gKjJEjywj+iNHayXVxPoEmN3h6Klj5SPQFnmdw/Io4BIT5ZGU5UOBpUKFneEsQMIg 8Z7+dqukFPxg4c596L3tgGHM2B7K6I62ncHHP4LbNqvAQLXUvBkLDs2bM8yit7TfGoHo UX/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=M/ceggId8ZGgwz/eyon6dS9nYolCdMldS7Kq31ikkMg=; b=AkmKFkX14XCYuw55MQ2jexH8TR9a6i+NSmOVts/FfdHgTlAq81YBnOtax/aFbXjwU5 LXjD19194f+srKpsZYHWkmCh6XXUsfrDDyih9BCuNfENv9UCPcj9z1A97kw/DIQSFEaK cg9A3znEwIWPFnQAKISeDGUFGGBVRVnGt5KzIJWRIfoomStrl46/nR7Ml879IsBTrIsD uMIy6c2QtXzbF8WSoOrdVfvZGrAU5/FewuFMCqJb3//J/qpWGl8M6YyR7aKqSQJdAY07 RySNrNAF2HMi2YSI4qDvxpPjW15pYKNFG4tprYFWhBDzF4imYRNPGkSbRVl2LQGUiMwU YdSg== X-Gm-Message-State: AMCzsaXx8T0ZeQYEFCLH/H51P72sLCuZAaUSIk4xdQnlblLF23McW2wt DbKXOLmGcNK9ZU3VgiNblNcc8jyPOf+RDSDCE/2mO/1N3ZC9kLTkQXA8pEhbot1DEhpLA4bSvG7 blJCsfkFVXaxrMCGGQ0VFgh5wxJH8if8j473En4CHhV6x//ZvWblazTcf3IO+Mbnfki5kFqTluO dig200j75y X-Google-Smtp-Source: ABhQp+Tmcz1YV19w6bUsaDxN76TIIJ6YOUuYEEw802Ri9fWNmsO3XheNij2mWqYCXySyvo23Sl234A== X-Received: by 10.37.59.18 with SMTP id i18mr940905yba.396.1508418823139; Thu, 19 Oct 2017 06:13:43 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id t136sm959403ywe.98.2017.10.19.06.13.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Oct 2017 06:13:42 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: BUG #14849: jsonb_build_object doesn't like VARIADIC calls very much To: Michael Paquier Cc: Dmitry Dolgov <9erthalion6@gmail.com>, Marko Tiikkaja , PostgreSQL mailing lists References: <20171011020058.27986.42308@wrigleys.postgresql.org> <76ff5ede-99a7-536b-4c26-0db0748ea6e1@2ndQuadrant.com> Message-ID: Date: Thu, 19 Oct 2017 09:13:41 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW 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 On 10/18/2017 10:07 PM, Michael Paquier wrote: > Please see the attached patch which considers all the discussion done, > which shapes the code in the way I see most suited for HEAD and > back-branches. Patch doesn't apply against HEAD. Also, don't we need more tests? cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs