Re: backup manifests

From: David Steele <david(at)pgmasters(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, David Fetter <david(at)fetter(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tels <nospam-pg-abuse(at)bloodgate(dot)com>, Suraj Kharage <suraj(dot)kharage(at)enterprisedb(dot)com>, Rushabh Lathia <rushabh(dot)lathia(at)gmail(dot)com>, Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Jeevan Chalke <jeevan(dot)chalke(at)enterprisedb(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>
Subject: Re: backup manifests
Date: 2020-01-15 05:21:00
Message-ID: aa9fbed1-247a-3565-3c55-22b1cfb694fb@pgmasters.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Tom,

On 1/14/20 9:47 PM, Tom Lane wrote:
> David Steele <david(at)pgmasters(dot)net> writes:
>> I'm happy to work up a prototype unless the consensus is that we
>> absolutely don't want a second JSON parser in core.
>
> How much code are we talking about? If the answer is "a few hundred
> lines", it's a lot easier to swallow than if it's "a few thousand".

It's currently about a thousand lines but we have a lot of functions to
convert to/from specific types. I imagine the line count would be
similar using one of the approaches I discussed above.

Current source attached for reference.

Regards,
--
-David
david(at)pgmasters(dot)net

Attachment Content-Type Size
json.c text/plain 29.2 KB
json.h text/plain 1.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2020-01-15 05:22:45 Re: Remove libpq.rc, use win32ver.rc for libpq
Previous Message Masahiko Sawada 2020-01-15 05:19:34 Re: [HACKERS] Block level parallel vacuum