pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Dmitry Dolgov <9erthalion6@gmail.com>
Cc: Marko Tiikkaja <marko@joh.to>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14849: jsonb_build_object doesn't like VARIADIC calls very much
Date: Sun, 22 Oct 2017 09:19:18 -0400
Message-ID: <ab2825fd-ecee-04a5-c7df-ca467e20ba02@2ndQuadrant.com> (raw)
In-Reply-To: <18157.1508600622@sss.pgh.pa.us>
References: <20171011020058.27986.42308@wrigleys.postgresql.org>
	<CAB7nPqTppc5w2nX7jaSu94V+VHfThbvRq12hmLrSiiN6ii1spA@mail.gmail.com>
	<CAB7nPqRDvken_V70kGXX3=9w4D9zM9-jj2gfg6pMyjpRzaSvPQ@mail.gmail.com>
	<CA+q6zcUyiqG8HezQT2U+78udtMPeOFiXD9dRmT5saYtESckOpw@mail.gmail.com>
	<CAB7nPqTsuq=rnM8PQGxNS3Gh=JQQp4RmdPxGLGXSV648X4yfhA@mail.gmail.com>
	<CA+q6zcWNs_j5pd_+j6JbFXe7M=n9NX8h0Emb1pux7Ap=w=DWrA@mail.gmail.com>
	<CAB7nPqTh-Oo-FxurwDq6V8sfR2yNc-2PE7CB4RrnM8ewwS8Z9A@mail.gmail.com>
	<CA+q6zcWc=yE8XkOK+w58+sW_K+crFU-Xa48UKh5R0PFDEi6uEg@mail.gmail.com>
	<dbde1be7-d9d7-0951-f976-b8118da66199@2ndQuadrant.com>
	<CAB7nPqSr+3jHmoQvTX=MNeWMC0OTKf+tdn6uL9rgs1x4qgs22g@mail.gmail.com>
	<d06b1301-107a-016b-0139-93aeeacd51e4@2ndQuadrant.com>
	<CAB7nPqSf0jMiCpJcsQSg6s3xLiLry3WaqeKOviYA7XfFu6QCzQ@mail.gmail.com>
	<b7fcae21-7227-806c-5441-9470db9da608@2ndQuadrant.com>
	<CAB7nPqRkQ9YCiXfT3Ucn7XUx_yfmAsRTKxewfPGbaS1GczLnbw@mail.gmail.com>
	<18157.1508600622@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>



On 10/21/2017 11:43 AM, Tom Lane wrote:
> Michael Paquier <michael.paquier@gmail.com> writes:
>> Here you go, down to 9.4 where things apply. The same patch can be
>> applied for HEAD/10, 9.5/9.6 and 9.4. The 9.4 version just needs to
>> have the portion for json as the jsonb functions have been added in
>> 9.5, and the json functions are new as of 9.4.
> It doesn't seem very nice to have two identical(?) copies of 
> extract_variadic_args, especially since the same functionality
> might be of use elsewhere.  I'm almost inclined to say that that
> should go in funcapi.c/.h.
>
> 			



I guess it's not a problem exposing a new function in funcapi.h in the
stable branches, since this fix needs to be backpatched to 9.4.

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



view thread (33+ messages)  latest in thread

Message-ID: <ab2825fd-ecee-04a5-c7df-ca467e20ba02@2ndQuadrant.com>
Permalink:  ../ab2825fd-ecee-04a5-c7df-ca467e20ba02@2ndQuadrant.com/
Also on:    postgresql.org/message-id/ab2825fd-ecee-04a5-c7df-ca467e20ba02@2ndQuadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andrew.dunstan@2ndquadrant.com, tgl@sss.pgh.pa.us, michael.paquier@gmail.com, 9erthalion6@gmail.com, marko@joh.to
  Subject: Re: BUG #14849: jsonb_build_object doesn't like VARIADIC calls very much
  In-Reply-To: <ab2825fd-ecee-04a5-c7df-ca467e20ba02@2ndQuadrant.com>
  References: <20171011020058.27986.42308@wrigleys.postgresql.org> <CAB7nPqRDvken_V70kGXX3=9w4D9zM9-jj2gfg6pMyjpRzaSvPQ@mail.gmail.com> <CA+q6zcUyiqG8HezQT2U+78udtMPeOFiXD9dRmT5saYtESckOpw@mail.gmail.com> <CAB7nPqTsuq=rnM8PQGxNS3Gh=JQQp4RmdPxGLGXSV648X4yfhA@mail.gmail.com> <CA+q6zcWNs_j5pd_+j6JbFXe7M=n9NX8h0Emb1pux7Ap=w=DWrA@mail.gmail.com> <CAB7nPqTh-Oo-FxurwDq6V8sfR2yNc-2PE7CB4RrnM8ewwS8Z9A@mail.gmail.com> <CA+q6zcWc=yE8XkOK+w58+sW_K+crFU-Xa48UKh5R0PFDEi6uEg@mail.gmail.com> <dbde1be7-d9d7-0951-f976-b8118da66199@2ndQuadrant.com> <CAB7nPqSr+3jHmoQvTX=MNeWMC0OTKf+tdn6uL9rgs1x4qgs22g@mail.gmail.com> <d06b1301-107a-016b-0139-93aeeacd51e4@2ndQuadrant.com> <CAB7nPqSf0jMiCpJcsQSg6s3xLiLry3WaqeKOviYA7XfFu6QCzQ@mail.gmail.com> <b7fcae21-7227-806c-5441-9470db9da608@2ndQuadrant.com> <CAB7nPqRkQ9YCiXfT3Ucn7XUx_yfmAsRTKxewfPGbaS1GczLnbw@mail.gmail.com> <18157.1508600622@sss.pgh.pa.us> <ab2825fd-ecee-04a5-c7df-ca467e20ba02@2ndQuadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox