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 1mufa3-0004G5-9L for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Dec 2021 18:52:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mufa1-0007eP-7u for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Dec 2021 18:52:45 +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 1mufa0-0007eG-Up for pgsql-hackers@lists.postgresql.org; Tue, 07 Dec 2021 18:52:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mufZy-0004Rj-CS for pgsql-hackers@lists.postgresql.org; Tue, 07 Dec 2021 18:52:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1B7IqY6w3506995; Tue, 7 Dec 2021 13:52:34 -0500 From: Tom Lane To: Mark Dilger cc: Robert Haas , Andrew Dunstan , Peter Eisentraut , Andres Freund , Bruce Momjian , Alvaro Herrera , PostgreSQL Hackers Subject: Re: pg_dump versus ancient server versions In-reply-to: <75CEAC23-E6A1-4976-8CFF-AD7B24647A7C@enterprisedb.com> References: <202110222351.3f42l5fgo3lw@alvherre.pgsql> <3783090.1635111977@sss.pgh.pa.us> <3883429.1635171820@sss.pgh.pa.us> <20211025170657.ekufa7urdcyzpgdm@alap3.anarazel.de> <22018.1635202338@sss.pgh.pa.us> <20211202221607.xovsdnoh5tpbnhbs@alap3.anarazel.de> <196b40be-c571-e77f-3335-920f8a00047f@enterprisedb.com> <2316211.1638556231@sss.pgh.pa.us> <2978297.1638751274@sss.pgh.pa.us> <3361296.1638825548@sss.pgh.pa.us> <75CEAC23-E6A1-4976-8CFF-AD7B24647A7C@enterp! risedb.com> Comments: In-reply-to Mark Dilger message dated "Tue, 07 Dec 2021 10:26:13 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3506993.1638903154.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 07 Dec 2021 13:52:34 -0500 Message-ID: <3506994.1638903154@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Mark Dilger writes: > Wouldn't you be able to see what changed by comparing the last released = tag for version X.Y against the RELX_Y_STABLE branch? Something like `git= diff REL8_4_22 origin/REL8_4_STABLE > buildability.patch`? > Having such a patch should make reproducing old corruption bugs easier, = as you could apply the buildability.patch to the last branch that containe= d the bug. If anybody did that work, would we want it committed somewhere= ? REL8_4_19_BUILDABLE or such? For patches that apply trivially, that mi= ght not be worth keeping, but if the merge is difficult, maybe sharing wit= h the community would make sense. I'm not entirely following ... are you suggesting that each released minor version needs to be kept buildable separately? That seems like a huge amount of extra committer effort with not much added value. If someone comes to me and wants to investigate a bug in a branch that's already out-of-support, and they then say they're not running the last minor release, I'm going to tell them to come back after updating. It is (I suspect) true that diffing the last release against branch tip would often yield a patch that could be used to make an older minor release buildable again. But when that patch doesn't work trivially, I for one am not interested in making it work. And especially not interested in doing so "on spec", with no certainty that anyone would ever need it. regards, tom lane