Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wAWkM-0003nE-24 for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 17:31:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAWkK-000y1X-0s for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 17:31:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wAWkJ-000y1P-3A for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 17:31:20 +0000 Received: from mail-oo1-xc2c.google.com ([2607:f8b0:4864:20::c2c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wAWkI-000000001pL-3knH for pgsql-hackers@postgresql.org; Wed, 08 Apr 2026 17:31:20 +0000 Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-67c250805ccso1083eaf.1 for ; Wed, 08 Apr 2026 10:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775669478; x=1776274278; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ur+Nhrmt3h1qiKFHM7gEseUGQh+lXIN4d3ft+eUnrBc=; b=pUEFa2xoxAUx7q+JksFTYbkT5Cgrm05POhV4fiYdAiKMIHZdx34H1lFR3c9AF+A2Zq XR+a/EqGNWwNvGV2AsgOtxazVzyg3YcY4JhblIKEMilPBcwgM2LTFxwoo6u4BpSKgiUq orAxNvFb6QPbr3dDeyV6Q+BkXK25nZjDa4iGf8YA/H+SSWhxCi/6vHpPPdtciioB5jUN Fn+XDtPR+XXhDXlC2asJUaOyvhLo5SMvyjWy/E5nHrnWNbFsZvDImLmFlDtNbi+J/7C/ Sp/mQ8VOYfLR3citzopTzW5lQp6Lx+SjSHQZQHEwadb9G5CsMqbj41bXQLkvqeQRv0Uw Ce/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775669478; x=1776274278; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ur+Nhrmt3h1qiKFHM7gEseUGQh+lXIN4d3ft+eUnrBc=; b=mCXErdGEapjNX0Pob4wi2JbZLLbEFrd6wBCTasQsV5webM+z9JEKAsGpnow5adtRYp cpd1/+kADz1pFsQBwNG75gsOKU6o3/PSJCSXankCHeLR+RK76u+HS3VlAkYBfJgSlPb0 MHMpahpOwCG3PrsOEqFRCBv2S5eW12MDEnvCW7hm/9usKf11ho0b1X+s9vPBIjhbWUWS FKavk8u48Pr5leKRuAdFNDc8NOzbVF6SUdZ/StymL24/0OZ4xrGqzaxWzQ5E5Y5Bn1PC j8gV/Yz3N6PCWdn9S+juirmg3DnPcXHTMuUZrk8vDaFmRkczn20pSdgLZWK/8kFSshen 4i2g== X-Forwarded-Encrypted: i=1; AJvYcCWWyNubwWOEDX6nJOgVZnUtS/nA64s+r5c0lAvwayaPW4A4Cp8mzwDrLiziMV4hN7WjmBsA/w3cCBjOkmoP@postgresql.org X-Gm-Message-State: AOJu0YziuTKwgSnZ2uK3S744FEWlN73OC8swj2OAFd+4ZrYdKjAdSP4u X9qbKiv6yLhLniRCGaPTbfzgpWCqj3qJB6CY6DTds71HghH3qHhwlMXI X-Gm-Gg: AeBDievprd7aFCyhmwEZ1p16Dx7fYaEQqOarc7a/hPES51ja1ziUJJ7Bv4KGnEpAbUj utovCdtTjS2NxrfEHb4IMCvYW/eiOBzqQ1sU0YtNHa6tH+ea75Obdx3AxIdstnPUM4L6ay4WCUh vooSgT/GXRCoVbWZYIxAjukGAvoaH6pv1hYNQf8gA3/v71M9TjKXxQdIdmLYuzj5rWfL8Vw5fEf PdCg852jNSflJhEuLBXmeBRqMpJm+EzVSedZQpxcH9hc0WfrVZ0+37s4dHLUAAx0culvp/yoQs2 AvdMqlJhtQhLdJNn7Ou6XptmYVruyuyKTykDO9R3B0s0sd8jE4tFu7YfCbG2zwe+mjlIq5lfjMZ 2w3dFpVGF5lHmVttLxd6W8qoHE4q2OhEcYNzFhnpu4JLLjyeBA1wE9LOas8cjxnCK2KzQDxOLU1 pS6ON8fPjuKglv1HzO3xHOcNB5oQ2ypGsGmMVmDVLfCQdd3E1ZpbMHihzVxqwRBmXB5vOAEGTUp tMFFbJoKK8yc87RXLpTNA== X-Received: by 2002:a05:6820:4dc2:b0:686:48b7:d82f with SMTP id 006d021491bc7-68a6177f8afmr280245eaf.11.1775669477476; Wed, 08 Apr 2026 10:31:17 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-68897af6975sm2354068eaf.6.2026.04.08.10.31.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Apr 2026 10:31:16 -0700 (PDT) Date: Wed, 8 Apr 2026 12:31:15 -0500 From: Nathan Bossart To: Andrew Dunstan Cc: Tom Lane , pgsql-hackers@postgresql.org Subject: Re: bump minimum supported version of psql and pg_{dump,dumpall,upgrade} to v10 Message-ID: References: <3070727.1775665381@sss.pgh.pa.us> <3b5bd0ba-d9a0-4d0b-9b5d-674948ea7529@dunslane.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3b5bd0ba-d9a0-4d0b-9b5d-674948ea7529@dunslane.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Apr 08, 2026 at 12:42:21PM -0400, Andrew Dunstan wrote: > On 2026-04-08 We 12:23 PM, Tom Lane wrote: >> I'm on board with this for v20, but as a matter of reviewing the >> patch: it'd be easier if you separated it into two steps, one that >> does the actual changes but doesn't reindent anything, and then a >> separate application of pgindent. As this diff stands, there's an >> awful lot of noise resulting from outdenting no-longer-conditional >> code, which has to be reviewed by hand but it could be checked >> mechanically if you left it to a "this just applies pgindent" step. Will do. There's also various code consolidation throughout, so I suspect this will become ~3 patches in the end. >> Looking at the commit log, I was struck by my comment in 30e7c175b: >> >> (As in previous changes of >> this sort, we aren't removing pg_restore's ability to read older >> archive files ... though it's fair to wonder how that might be >> tested nowadays.) >> >> I wonder whether we ought to sunset some of that code too, and >> if so how to draw the line on minimum archive version to support. K_VERS_1_12 was added in 2010 for v9.0, and K_VERS_1_13 was added in 2018 for v11. The latter is within our 10 release window for pg_dump, etc., and the former is well beyond it. So, K_VERS_1_12 is probably the latest we could bump it to. I suspect that'd be fine, but we might still want to consider choosing an earlier version out of an abundance of caution. Perhaps our policy could be something like past-15-major-releases for pg_restore. >> BTW, see also 492046fa9. Noted. > I'm on board, if for no other reason than that it will shorten some of my > animals' buildfarm runs. I guess people wanting to upgrade from ancient > versions can do it in multiple hops. At the same time, I wouldn't want to do > this every year. It's been 5 years since he last time we did this, and that > seems about the right interval. Yeah, I think this is where we ultimately landed in a previous discussion on Discord. -- nathan