Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCnI9-0005gJ-OP for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Aug 2020 17:08:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kCnI7-0005pv-NN for pgsql-hackers@arkaria.postgresql.org; Mon, 31 Aug 2020 17:08:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCnI7-0005po-Ge for pgsql-hackers@lists.postgresql.org; Mon, 31 Aug 2020 17:08:23 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kCnI5-0005iX-4r for pgsql-hackers@lists.postgresql.org; Mon, 31 Aug 2020 17:08:22 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1kCnI1-0007pn-U4; Mon, 31 Aug 2020 13:08:17 -0400 Date: Mon, 31 Aug 2020 13:08:17 -0400 From: Bruce Momjian To: Stephen Frost Cc: Tom Lane , Andrey Lepikhov , pgsql-hackers@lists.postgresql.org, Etsuro Fujita , Jeff Janes Subject: Re: Ideas about a better API for postgres_fdw remote estimates Message-ID: <20200831170817.GF13613@momjian.us> References: <1374896.1594047946@sss.pgh.pa.us> <20200706152828.GG3125@tamriel.snowman.net> <20200714013219.GD32422@momjian.us> <7a40707d-1758-85a2-7bb1-6e5775518e64@postgrespro.ru> <20200829162231.GE29590@tamriel.snowman.net> <3565504.1598719859@sss.pgh.pa.us> <20200831161455.GD13613@momjian.us> <20200831161952.GQ29590@tamriel.snowman.net> <20200831164725.GE13613@momjian.us> <20200831165621.GR29590@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200831165621.GR29590@tamriel.snowman.net> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Aug 31, 2020 at 12:56:21PM -0400, Stephen Frost wrote: > Greetings, > * Bruce Momjian (bruce@momjian.us) wrote: > The point I was making was that it has value and people did realize it > but there's only so many resources to go around when it comes to hacking > on PG and therefore it simply hasn't been done yet. > > There's a big difference between "yes, we all agree that would be good > to have, but no one has had time to work on it" and "we don't think this > is worth having because of the maintenance work it'd require." The > latter shuts down anyone thinking of working on it, which is why I said > anything. I actually don't know which statement above is correct, because of the "forever" maintenance. > I tend to agree with it being more of a pg_dump issue- but that also > shows that your assessment above doesn't actually fit, because we > definitely change pg_dump every release. Consider that if someone wants > to add some new option to CREATE TABLE, which gets remembered in the > catalog, they have to make sure that pg_dump support is added for that. > If we added the statistics export/import to pg_dump, someone changing > those parts of the system would also be expected to update pg_dump to > manage those changes, including working with older versions of PG. Yes, very true, but technically any change in any aspect of the statistics system would require modification of the statistics dump, which usually isn't required for most feature changes. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee