Re: BUG #14849: jsonb_build_object doesn't like VARIADIC calls very much

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Dmitry Dolgov <9erthalion6(at)gmail(dot)com>, Marko Tiikkaja <marko(at)joh(dot)to>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14849: jsonb_build_object doesn't like VARIADIC calls very much
Date: 2017-10-21 23:33:59
Message-ID: CAB7nPqRegiLtjhrQK0jBs8FSJRy_sskP=-yUnTSMOD6FKjw2Rw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Sun, Oct 22, 2017 at 1:43 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I don't think collecting all the arguments is particularly special ---
> format() or concat() for instance could possibly use this. You might
> need an option to say what to do with unknown.

In this case, we could just use a boolean flag to decide if TEXTOID
should be enforced or not.
--
Michael

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message marciofarah 2017-10-22 13:11:43 BUG #14865: plpythonu
Previous Message Tom Lane 2017-10-21 16:43:39 Re: BUG #14849: jsonb_build_object doesn't like VARIADIC calls very much

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2017-10-22 06:55:25 new field for structured exception - query
Previous Message Thomas Munro 2017-10-21 20:25:12 Re: Block level parallel vacuum WIP