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 1mfQjk-0004pE-5h for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Oct 2021 17:59:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mfQji-0005pq-8G for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Oct 2021 17:59:46 +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 1mfQjh-0005pg-W6 for pgsql-hackers@lists.postgresql.org; Tue, 26 Oct 2021 17:59:45 +0000 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfQja-0005MI-Nq for pgsql-hackers@lists.postgresql.org; Tue, 26 Oct 2021 17:59:44 +0000 Received: (Authenticated sender: adsend@dunslane.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id F2E016000A; Tue, 26 Oct 2021 17:59:35 +0000 (UTC) Message-ID: Date: Tue, 26 Oct 2021 13:59:34 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: pg_dump versus ancient server versions Content-Language: en-US To: Tom Lane , Andres Freund Cc: "David G. Johnston" , PostgreSQL Hackers References: <2923349.1634942313@sss.pgh.pa.us> <2979833.1634945425@sss.pgh.pa.us> <20211025165620.all2726jlr7i2pid@alap3.anarazel.de> <4049941.1635181783@sss.pgh.pa.us> From: Andrew Dunstan In-Reply-To: <4049941.1635181783@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/25/21 13:09, Tom Lane wrote: > Andres Freund writes: >> On 2021-10-22 19:30:25 -0400, Tom Lane wrote: >>> Yeah. I checked into when it was that we dropped pre-8.0 support >>> from pg_dump, and the answer is just about five years ago (64f3524e2). >>> So moving the bar forward by five releases isn't at all out of line. >>> 8.4 would be eight years past EOL by the time v15 comes out. >> I'd really like us to adopt a "default" policy on this. I think it's a waste >> to spend time every few years arguing what exact versions to drop. I'd much >> rather say that, unless there are concrete reasons to deviate from that, we >> provide pg_dump compatibility for 5+3 releases, pg_upgrade for 5+1, and psql >> for 5 releases or something like that. > I agree with considering something like that to be the minimum support > policy, but the actual changes need a bit more care. For example, when > we last did this, the technical need was just to drop pre-7.4 versions, > but we chose to make the cutoff 8.0 on the grounds that that was more > understandable to users [1]. In the same way, I'm thinking of moving the > cutoff to 9.0 now, although 8.4 would be sufficient from a technical > standpoint. > > OTOH, in the new world of one-part major versions, it's less clear that > there will be obvious division points for future cutoff changes. Maybe > versions-divisible-by-five would work? Or versions divisible by ten, > but experience so far suggests that we'll want to move the cutoff more > often than once every ten years. > > pg_upgrade claims to be able to operate on 8.4, which might be all the better for some regular testing (which this could enable), so that seems to me more like where the cutoff should be at least for this round. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com