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.94.2) (envelope-from ) id 1tH7DU-003b0y-D5 for pgsql-general@arkaria.postgresql.org; Fri, 29 Nov 2024 20:03:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tH7DR-00AOhw-JL for pgsql-general@arkaria.postgresql.org; Fri, 29 Nov 2024 20:03:50 +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.94.2) (envelope-from ) id 1tH7DR-00AOho-80 for pgsql-general@lists.postgresql.org; Fri, 29 Nov 2024 20:03:50 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tH7DP-000CZp-NB for pgsql-general@lists.postgresql.org; Fri, 29 Nov 2024 20:03:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 4ATK3ik5537497; Fri, 29 Nov 2024 15:03:44 -0500 From: Tom Lane To: Adrian Klaver cc: Igor Korot , "pgsql-general@lists.postgresql.org" Subject: Re: Find out the version of the server In-reply-to: References: <04031b39-c06a-4dc0-b354-1472dc0d39e2@aklaver.com> Comments: In-reply-to Adrian Klaver message dated "Fri, 29 Nov 2024 11:24:00 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <537495.1732910624.1@sss.pgh.pa.us> Date: Fri, 29 Nov 2024 15:03:44 -0500 Message-ID: <537496.1732910624@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Adrian Klaver writes: > On 11/29/24 11:15 AM, Igor Korot wrote: >> Are you saying that the current version can connect even to 9.6.1 >> server? (I have a really old Mac with the 9.6.1 version installed). > Yes. Current libpq will probably work with servers back to around 7.0 (whenever we introduced the version-3 wire protocol). We don't routinely test it against anything older than 9.2, but I tried current psql against 8.2 (the oldest functional server I have on this machine) and it basically worked. regards, tom lane