Re: [COMMITTERS] pgsql: Process variadic arguments consistently in json functions

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Process variadic arguments consistently in json functions
Date: 2017-10-26 04:12:36
Message-ID: CAB7nPqSha1L8yHko9cPxbU5gt=xp8QE0e9_5B9HkcXRC5e0+Xw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

On Wed, Oct 25, 2017 at 5:24 AM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> Process variadic arguments consistently in json functions
>
> json_build_object and json_build_array and the jsonb equivalents did not
> correctly process explicit VARIADIC arguments. They are modified to use
> the new extract_variadic_args() utility function which abstracts away
> the details of the call method.
>
> Michael Paquier, reviewed by Tom Lane and Dmitry Dolgov.
>
> Backpatch to 9.5 for the jsonb fixes and 9.4 for the json fixes, as
> that's where they originated.

- * Copyright (c) 2014-2017, PostgreSQL Global Development Group
+ * COPYRIGHT (c) 2014-2017, PostgreSQL Global Development Group
Andrew, I have just noticed that this noise diff has crept in. You may
want to fix that.
--
Michael

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2017-10-26 08:40:40 pgsql: Fixed handling of escape character in libecpg.
Previous Message Tom Lane 2017-10-25 23:32:55 pgsql: Fix libpq to not require user's home directory to exist.

Browse pgsql-hackers by date

  From Date Subject
Next Message Beena Emerson 2017-10-26 04:40:21 Re: path toward faster partition pruning
Previous Message Jing Wang 2017-10-26 03:29:24 Re: proposal: Support Unicode host variable in ECPG