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 1vugsM-001hbn-16 for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Feb 2026 01:06:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vugsK-00G84b-0s for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Feb 2026 01:06:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vugsJ-00G84D-31 for pgsql-hackers@lists.postgresql.org; Tue, 24 Feb 2026 01:06:07 +0000 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vugsA-00000000xDL-3Lsc for pgsql-hackers@lists.postgresql.org; Tue, 24 Feb 2026 01:06:01 +0000 Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-506cb1b63d0so53411671cf.2 for ; Mon, 23 Feb 2026 17:05:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1771895157; cv=none; d=google.com; s=arc-20240605; b=DFhyWH/jJj/aa/DSmflQmSWydWpVaYLSlOycztq/irTCcDEgAyK43b4yG3F1E8KYXs p5SokxRX7LCxWp7Qx43w1Gq0FfFZn6t+WCGeWwfuU0enI5CAcpHWGcPToQIATxxYBjp8 vTsNqLSpRQETwPtOirYORzMspIZXcYDpRya6tXCDQIPAAFjtEU+1+bovRuUskgpXQXSb zVh/H+mpiZZjDPijOvwXZ6Bqtfb8X25ZJrFOh/oBypDvTZWIyyXxaVPj3OSK0NJ7z1ca EPLDTIOrLeU0jg7ANm8KtDNLOEW0A9hSyedVMhj3R1zLZ01XJGr+9+K2rc45l860s2QW TTQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1Luf+rAb+MO3GI4XS6nSuRVuI8vBZLGpeBcoO8XWVsY=; fh=w53Of5Noz8BoYsZq9QjaR130A7ZM0cslJeEN3faa8uU=; b=a4g8WR95HCcI+sfibjgpO7eJu44u/J/A/vk2vyER6mShr63seZnA0xGB9YP/J5tcIK /WQfiFAO0tYbU7XkDHhEPddU4s+n5AcOMyKsszWSIYa1N1EFg/oH4QiUCvp9QLzIjTpo h8IoGmAkbOv7XjZujF5qmw7CdwuwdgjBEOQjJBv57blo+mHfedgSSFocAjl20stCYZ11 GCV70wkOnFyZ4fxdZFzJa9B67LLpzQHAqv6EOUoVR3cT2xrjjYAqmhL/Y9Ubkva03M0J u2N1OfrX6RKa3fLI/NnShLiOlcdBGCFXuyoGb3rXXbcibP2ol1zvhphy4+zUUFYCw30g Bm8Q==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1771895157; x=1772499957; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1Luf+rAb+MO3GI4XS6nSuRVuI8vBZLGpeBcoO8XWVsY=; b=isSjeD8NLc5negdzCnCD03x727lj5eK4o+BWVa0AUoQaypGrYCY3Qu19tDuzJ3UkSp W60Ze7jvz5+/WEp6P0O3nUORB8HVvwJALnyx8Pz6lmQSVPnciDKPFBMSEyIlnB2PaaES UnnYNjrRsc5vHbrLmBdQlzVXLPi8Iv59wRNlZ0AcXJj93CbvnZ7pHV1CxGfVN/r3h+hP bp0lAoA/LjgY5Dbv0KiwUWg1AlN+2TWeSTFg3rNlCUun2/QmwmsdDCEPrBNUykdXDKue Q90JmKQmrcs2t+sdXlPMlvUPcmf0nuDwyIOohBIeQoqlCHovgh+UY+Bo1yhjHhinoZUa NcRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771895157; x=1772499957; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=1Luf+rAb+MO3GI4XS6nSuRVuI8vBZLGpeBcoO8XWVsY=; b=iz48gXBCANXXndqN5vBivbNbJ967xflUMK0K1fqoJaBmPdSkglIaR7dnsQKtoLJHUZ UHIc0E2toMWICJZiRle0z1H+BIYcIm7Ale0TWRLGqOJU+lHfXWqmPfuSuOGoO/nRc5U5 1NOt0VoUe3RjBilWKIL02zKo2/DZANxo7Zi/YDLtcOJ47VJ7YT7kDNzGpwWpeveaRjWH gFIv+1f/kUdZnRxie2rx09GSmo9zQFnPdvCcG6aSoQSE0NvpxajF8z63fp3sAYpgFpwJ MPiXedOC073eLcLtzKaGGf/Ta6wZ5m8cMrGWa82mEpvqZtiyS6fZC/++Oe8tWti6jeaK bpPA== X-Forwarded-Encrypted: i=1; AJvYcCVK0u4b9cHsJcdgcXA9Pt6uX/cD0/zMSfpG9k7+nTSZlKRR1ZFYO9Q0tgznnoyPcdEXrEEwpx7c4ERNV4Y6@lists.postgresql.org X-Gm-Message-State: AOJu0YzIuT+gupK6wGFnRuAn1lhUt0i9dQOgm3xT++BlRxq21b/yEO+R jx7w4fe8mROnAym1tdWvsyhkWZL989N93cu5gCygYr7U3D6iDpCkOYL0tpF5IMDIfYpy80QRCnt bQlgP3k/QIMnbsgVlDs8voJKdHPWY+1IIqLbT9hzq X-Gm-Gg: AZuq6aLiO6bkkoeaLbM3OW3r0WCjfPaI7gf1zeAEncxrpVqt3G8gUiJTGeb574ejwuf uhIgq52SlKJenxRwfNcV2Vnb2VK5ik1FP2/wBXEVqyDy5aZQCXDwSm1pwtiVZcvJD1QaVeZVvUD bkfG3mtZQvdRS13+XujisKABc5h9nGE9/zF5TJLF2gYDzqbsTb6Ikx7bEct1x3tlGlLu0mM10Vm yqa8wbKqcqo9XirMdWAkQ5XTuluFCPs/EpGaCaC6jZ/cW15lkbPFJtIOtZhFFyr9wBX28+tjW0f /JwhzuGSqw== X-Received: by 2002:a05:622a:cb:b0:501:b1be:c31b with SMTP id d75a77b69052e-5070bba2d1dmr153059311cf.14.1771895157429; Mon, 23 Feb 2026 17:05:57 -0800 (PST) MIME-Version: 1.0 References: <3626145.1771885089@sss.pgh.pa.us> <3635497.1771889682@sss.pgh.pa.us> <3797860.1771893905@sss.pgh.pa.us> In-Reply-To: <3797860.1771893905@sss.pgh.pa.us> From: Jacob Champion Date: Mon, 23 Feb 2026 17:05:45 -0800 X-Gm-Features: AaiRm53vXkDQi99-F8pRvptAy0Zta33_XyvpU9DzRZMQmUavy8FsxRv8TuQs6e4 Message-ID: Subject: Re: pgsql: libpq: Grease the protocol by default To: Tom Lane Cc: Jelte Fennema-Nio , pgsql-hackers@lists.postgresql.org, Andrew Dunstan Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Feb 23, 2026 at 4:45=E2=80=AFPM Tom Lane wrote: > Jacob Champion writes: > > Something like the attached (tested only against 9.2 so far)? I would > > plan to backpatch after feature freeze is lifted. (er, should have been "release freeze", though we're clearly in no hurry) > Also: I was initially baffled why you thought this needs > back-patching, but I guess you have one eye on packagers like > Debian who think they can make older versions use newer libpq.so. Right. > It'd be good to spell out that reasoning in the commit message. Okay, will do. > It's not obvious to me where the problem lies. I can replicate > the failure by trying to use HEAD's psql to connect to a 9.2 > server, but adding -d "max_protocol_version=3D3.0" makes psql happy, > so why not pg_dumpall? Hmmm, looks like the -dump1.log output is actually from *before* pg_upgrade actually runs: https://github.com/PGBuildFarm/client-code/blob/28d7e945cc2a27fecdf4cc6= 85782821ca504db5d/PGBuild/Modules/TestUpgradeXversion.pm#L514 So that will still need to be modified in the buildfarm client, independently of my patch. (I reproduced the error with a bare pg_upgrade invocation and didn't think to look closer; sorry for the confusion.) --Jacob