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 1vueMI-00HSQf-0c for pgsql-committers@arkaria.postgresql.org; Mon, 23 Feb 2026 22:24:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vueMH-00FmbD-04 for pgsql-committers@arkaria.postgresql.org; Mon, 23 Feb 2026 22:24:53 +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 1vueMG-00Fmb5-2P for pgsql-committers@lists.postgresql.org; Mon, 23 Feb 2026 22:24:52 +0000 Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vueMB-00000000reE-2Smu for pgsql-committers@lists.postgresql.org; Mon, 23 Feb 2026 22:24:51 +0000 Received: by mail-lj1-x229.google.com with SMTP id 38308e7fff4ca-38706b63929so43539651fa.3 for ; Mon, 23 Feb 2026 14:24:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1771885487; cv=none; d=google.com; s=arc-20240605; b=AmG/LEY25ds6d3Hx99+RxAmVrL/PxEL/H2kbDpcYaSxvc9So/uCCR4ewWbV3OF4JWt aOHcMETQDds/wZNvsNc3+NviR/mCX4ECVbS/Tb5AcBzOAMB0QKZOCYxOcPwYdnNW8UJP kV7V4rGvBwru1CocLNUogVfHWD0XAytjOSr5C3ZdNg+nq0Mvwp4t2MLOrp8uJpnP+M6Z tDXx/FDmTCQTdWHdKW78F6du6IG08VxP0FufJVvuinKERxrgU4cSONlafDUDhNQ9bko/ nIAq47hEv6tq0+cp5uTvkj8xlCIGa0mS1ZDaQ9qht27lELfgVBzptbaxhr3CLflty2HU Oq5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=Ao5jSnF36Se4OFAA6EvGVIHFkGKE722cF+jhYi74Ij4=; fh=UFdFseyp73BqqLcAFzknm6S+Pn+fFcBWzJNzIyzPzNM=; b=dQG32kxF050EK9xtLzDwB8MDPl3PsQkD3br4A0ICUpSjze9Ntorig5sZyhBPGS77fx 32zofJK2BFod4se7d4x79NX9JzSdGA9+nybrAvngonoF4QlIVAIz2hWcYYKZFNS7UDmp DvKQ52kfEQdYLP/yWg+3YztPH//JZCpdjnzTRsg90BUL9reI6swd3qV4X7gpDhhN3+se 1W8WIdHbcGqM9HhNMlpZo6EJHO02tcS//XNnGRW+/i9g0Z1JGflyspkC5DC6vV2NWD98 Ymvz9a7wKpC2FFYDpdR1cB3WqO1/fngzBubdxXsAe+PhvfDKTsJrqA00agTSHhWLJmAB 1ABQ==; 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=jeltef.nl; s=google; t=1771885487; x=1772490287; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Ao5jSnF36Se4OFAA6EvGVIHFkGKE722cF+jhYi74Ij4=; b=nRpEnw4+pzomdvJxwLds8KFcvhurvd6ZNYwBRpjPKQKlVxh7JRUAM+9R+jQcm5RueU bw6s5Gw2tvFhG6TYrBQXb8h0a01gZua1SWV/V3DUmtQGca7g6Lh5qpbmbu4EKhJ9J01/ TXyv+q840XcFUQePjvWCCRAT9zX34yKq/laZ8JAauv/stP4kkj/7e7VddZ9o/zIU+8tq qLbz11GvqihS08542pYbm4HBTM6t3OUsTlRPmB3itliO/E11X5cGC72PBGD0s1tO3w1b Cs5WiPnN/YRpm2i4HdnwGyrU78suODgzkP7R5goL7K5uf6rS/RglW92oL9Jd6JfzA81x c7pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771885487; x=1772490287; h=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=Ao5jSnF36Se4OFAA6EvGVIHFkGKE722cF+jhYi74Ij4=; b=dJlKs6sSgOJDIh/T9k4NS2USi5Y6gG5XeFz2pG/gM6WrN7RdUtSb23ZYQBwD70A2rH ibzPOSYA0b93kqnBLEpSbw8vwTYPiKiAa/EFDsxmIxACzUxoIjtvzaUNvZuYpYhezQFk /WyUOOOT/G6lshL5YJZRK4ujgA+hIwmz5DI0Xpth0BzIf5NzaVmKyfNF/1NuLo0FAas/ JoDaCo8XLbrlt8NnDyW21NJtSpMDH0eu0VPzIHt7N36dzVW1ndsmZ8Vlp4Yg0rXyJRTy bX+wtoFA+GMmokrcDVixRdEx7Z79SOrLuzN5Lm5gRIPsXeCkVXcY+J34NRSg8MhMurqj tqYw== X-Forwarded-Encrypted: i=1; AJvYcCVg4pcq2jpVLlfaYr0NyDlBZ4oDABvTGZFQTKYLKfJo07N67gJwb0gJiwKS4EPFmtUo7aCtQOKtYpWPUikh46Ak@lists.postgresql.org X-Gm-Message-State: AOJu0YyqbnmFf4Luyf/sVhiWckVoYysiA6nFy2syZuW9xEJ2Nd9iSukw GX4/vd6aDwUZ3cB0dVFaJHGBKloZQUHyoXWZZHmYsZMEHUoH9qsj2yMEWwnIvN+iah/i2VNANxK 3qfl0Aa31EP+mRZr/aBz1VkJjgy7+LbPjGYOU9/iY3g== X-Gm-Gg: ATEYQzz6inN4FIhV+d3cKUcpfI0ii+lpMENtEtbnCIZB6iIGFx6PGin2V1rKLGwfwOh GtuqxjD8s7+/aWZQzjKrufQjx+VfDGD+YgC60e3DbyxY6DvcHK+Fhby2Ayc+vJ7Dm/VZ5hNqio5 BKrgMM4U776cS/rR8McMmGROmn/dwmCbdfTGudpjZhGwuD5z+QstSjD5PKpCZp5ptB1wFlA6yFo PgtkFiDuyAP+joSG4ThBnyKZ8ekzv9c1y09vvJGw59TvqVAeD/j3LOLeriyZCY2KJhzPuHAIh7T iVflXL2N2AnfGfR2kcW8zXDkZ6p/36FxsHOUig== X-Received: by 2002:a05:651c:1582:b0:386:9653:5d5c with SMTP id 38308e7fff4ca-389a5ced75bmr36172641fa.8.1771885486952; Mon, 23 Feb 2026 14:24:46 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jelte Fennema-Nio Date: Mon, 23 Feb 2026 23:24:34 +0100 X-Gm-Features: AaiRm50PtHcrAr64jcPYozCWfO2YJ3Dl04_t9s8CCkKTgkqP1OYKe5bnaAXB0sM Message-ID: Subject: Re: pgsql: libpq: Grease the protocol by default To: Jacob Champion Cc: Jacob Champion , pgsql-committers@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 23 Feb 2026 at 22:17, Jacob Champion wrote: > So while this is kind of a nice result, in that it's correctly > diagnosing the problem, I need to add max_protocol_version=3.0 to the > connection strings for these upgrades during beta. Two thoughts: 1. I think we might want the "This indicates a bug in either the server being contacted..." note to be added to the error even if you use 3.2/3.3/3.X. It seems pretty helpful in general. It would need a bit fancier detection though, with strings to search for based on the actual requested version. 2. Why only force max_protocol_version=3.0 for beta? It sounds like this would also be an issue once we eventually bump the default version.