Re: [PATCH] Generalized JSON output functions

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: hlinnaka(at)iki(dot)fi
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, "Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de>, Ryan Pedela <rpedela(at)datalanche(dot)com>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] Generalized JSON output functions
Date: 2015-07-10 04:31:18
Message-ID: CAFj8pRAURJSX4aPMXa==jJJRzuVAqZvaJZe0ODya9WUPEwvb-w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2015-07-03 12:27 GMT+02:00 Heikki Linnakangas <hlinnaka(at)iki(dot)fi>:

> On 05/27/2015 09:51 PM, Andrew Dunstan wrote:
>
>>
>> On 05/27/2015 02:37 PM, Robert Haas wrote:
>>
>>> On Tue, May 26, 2015 at 2:50 AM, Shulgin, Oleksandr
>>> <oleksandr(dot)shulgin(at)zalando(dot)de> wrote:
>>>
>>>> Is it reasonable to add this patch to CommitFest now?
>>>>
>>> It's always reasonable to add a patch to the CommitFest if you would
>>> like for it to be reviewed and avoid having it get forgotten about.
>>> There seems to be some disagreement about whether we want this, but
>>> don't let that stop you from adding it to the next CommitFest.
>>>
>>
>> I'm not dead set against it either. When I have time I will take a
>> closer look.
>>
>
> Andrew, will you have the time to review this? Please add yourself as
> reviewer in the commitfest app if you do.
>
> My 2 cents is that I agree with your initial reaction: This is a lot of
> infrastructure and generalizing things, for little benefit. Let's change
> the current code where we generate JSON to be consistent with whitespace,
> and call it a day.
>

I am thinking so it is not bad idea. This code can enforce uniform format,
and it can check if produced value is correct. It can be used in our code,
it can be used by extension's developers.

This patch is not small, but really new lines are not too much.

I'll do review today.

Regards

Pavel

> - Heikki
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Sawada Masahiko 2015-07-10 05:41:50 Re: Freeze avoidance of very large table.
Previous Message Michael Paquier 2015-07-10 01:54:31 Re: Fillfactor for GIN indexes