Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1irQNY-0008Le-SN for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Jan 2020 17:53:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1irQNX-0006uL-EM for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Jan 2020 17:53:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1irQNX-0006sI-4w for pgsql-hackers@lists.postgresql.org; Tue, 14 Jan 2020 17:53:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1irQNQ-0003g5-Bs for pgsql-hackers@postgresql.org; Tue, 14 Jan 2020 17:53:22 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 00EHr4kg012446; Tue, 14 Jan 2020 12:53:04 -0500 From: Tom Lane To: Robert Haas cc: David Steele , Stephen Frost , David Fetter , Tels , Suraj Kharage , Rushabh Lathia , Andrew Dunstan , PostgreSQL Hackers , Jeevan Chalke , vignesh C Subject: Re: backup manifests In-reply-to: References: <20200101190917.GR32763@fetter.org> <7437.1577925975@sss.pgh.pa.us> <30229.1577931611@sss.pgh.pa.us> <20200103164424.GW3195@tamriel.snowman.net> <20200103170123.GX3195@tamriel.snowman.net> <20200103193559.GY3195@tamriel.snowman.net> <20200108013348.GF3195@tamriel.snowman.net> <00b28009-3781-4c4a-174b-be2c1bc52f27@pgmasters.net> Comments: In-reply-to Robert Haas message dated "Tue, 14 Jan 2020 11:54:30 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12444.1579024384.1@sss.pgh.pa.us> Date: Tue, 14 Jan 2020 12:53:04 -0500 Message-ID: <12445.1579024384@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Robert Haas writes: > ... I would also expect that depending on an external package > would provoke significant opposition. If we suck the code into core, > then we have to keep it up to date with the upstream, which is a > significant maintenance burden - look at all the time Tom has spent on > snowball, regex, and time zone code over the years. Also worth noting is that we have a seriously bad track record about choosing external packages to depend on. The regex code has no upstream maintainer anymore (well, the Tcl guys seem to think that *we* are upstream for that now), and snowball is next door to moribund. With C not being a particularly hip language to develop in anymore, it wouldn't surprise me in the least for any C-code JSON parser we might pick to go dead pretty soon. Between that problem and the likelihood that we'd need to make significant code changes anyway to meet our own coding style etc expectations, I think really we'd have to assume that we're going to fork and maintain our own copy of any code we pick. Now, if it's a small enough chunk of code (and really, how complex is JSON parsing anyway) maybe that doesn't matter. But I tend to agree with Robert's position that it's a big ask for this patch to introduce a frontend JSON parser. regards, tom lane