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 1mtBRZ-0002kw-9C for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Dec 2021 16:29:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mtBRY-0005jA-5g for pgsql-hackers@arkaria.postgresql.org; Fri, 03 Dec 2021 16:29:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtBRX-0005j1-Rw for pgsql-hackers@lists.postgresql.org; Fri, 03 Dec 2021 16:29:51 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtBRT-0002k0-KK for pgsql-hackers@lists.postgresql.org; Fri, 03 Dec 2021 16:29:51 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 0F5723200EC0; Fri, 3 Dec 2021 11:29:43 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 03 Dec 2021 11:29:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=81Ox6IMecVmjy6VsVX2o/uCYdyFAMCnO/PgNCyHak XY=; b=FE23yWWVwx/w6ixd17ghO97IYPleVOaNPs2gqO65UV17azUu5iLlT02dP woXNRKMM84UBlgenanepxiVpOzlnj1lEaX6+TKXpbki0Czulg6BHJakThDY7iJBI RfKoYpFVQHcfJxirE+5n4ulJ89PkvvfEWX2sf8CNfhfjhjTbosRhT1M89MxZSx8t 4AwljIwiDaA6oGNPFn0x+OQHuzMjA1Xxw8dycqmXp61/weYki2XjfOuZ5YpjeCOG EUoRHXXbl9EUMGBan6rN8047ROMythNkzr+FGbhGxacaswTkl36FaFoQl8dJ6ljc GCXiGyp19dFOCv9qXEO3YOtcBs7dQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrieejgdelvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnthgvrh hprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeefjeegheetuefhveevudel ueeftdejteeiffetvdduhfdtieefgfeutedtveeggfenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghuthes vghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Dec 2021 11:29:42 -0500 (EST) Message-ID: <196b40be-c571-e77f-3335-920f8a00047f@enterprisedb.com> Date: Fri, 3 Dec 2021 17:29:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: pg_dump versus ancient server versions Content-Language: en-US To: Andres Freund Cc: Tom Lane , Andrew Dunstan , Bruce Momjian , Robert Haas , Alvaro Herrera , PostgreSQL Hackers 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> From: Peter Eisentraut In-Reply-To: <20211202221607.xovsdnoh5tpbnhbs@alap3.anarazel.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 02.12.21 23:16, Andres Freund wrote: > I think we should at least include pg_upgrade in this as well, it's pretty > closely tied to at least pg_dump. right >> * pg_dump and psql will maintain compatibility with servers at least >> ten major releases back. > > Personally I think that's too long... It boils down keeping branches buildable > for ~15 years after they've been released. That strikes me as pretty far into > diminishing-returns, and steeply increasing costs, territory. Well, it is a lot, but it's on the order of what we have historically provided. > I realize it's more complicated for users, but a policy based on supporting a > certain number of out-of-support branches calculated from the newest major > version is more realistic. I'd personally go for something like newest-major - > 7 (i.e. 2 extra releases), but I realize that others think it's worthwhile to > support a few more. I think there's a considerable advantage of having one > cutoff date across all branches. I'm not sure it will be clear what this would actually mean. Assume PG11 supports back to 9.4 (14-7) now, but when PG15 comes out, we drop 9.4 support. But the PG11 code hasn't changed, and PG9.4 hasn't changed, so it will most likely still work. Then we have messaging that is out of sync with reality. I can see the advantage of this approach, but the communication around it might have to be refined. > I think we should explicitly limit the number of platforms we care about for > this purpose. I don't think we should even try to keep 8.2 compile on AIX or > whatnot. It's meant to be developer-facing, so only for platforms that developers use. I think that can police itself, if we define it that way.