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 1ldUfc-00063s-W2 for pgsql-general@arkaria.postgresql.org; Mon, 03 May 2021 09:15:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ldUfb-0006ad-NC for pgsql-general@arkaria.postgresql.org; Mon, 03 May 2021 09:15:15 +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 1ldUfb-0006aW-Cw for pgsql-general@lists.postgresql.org; Mon, 03 May 2021 09:15:15 +0000 Received: from mout0.freenet.de ([2001:748:100:40::2:2]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.92) (envelope-from ) id 1ldUfa-00053x-3m for pgsql-general@lists.postgresql.org; Mon, 03 May 2021 09:15:14 +0000 Received: from [195.4.92.126] (helo=sub7.freenet.de) by mout0.freenet.de with esmtpa (ID rissler.wolfgang@01019freenet.de) (port 25) (Exim 4.92 #3) id 1ldUfY-0002xz-Aj for pgsql-general@lists.postgresql.org; Mon, 03 May 2021 11:15:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freenet.de; s=mjaymdexmjqk; h=Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KnJkbSI+kllC4M9SXuTB19ihDP5TLQUw5jgS3Z8fUq4=; b=OhGn13/aJc9l5emg4QB5P6NW9d ErIMfedMz55852LIFvmxvQAKv7V0TOqPKXG/wSLVOQGrVWImr1CzH8ZNoLfNFH6dK22Peyy3t4xIf ppE1XDLmyq7Si85Z1FqGxAO0paRdKFDCk7C37VaV2txj6wIQy+m/J39hHGIu3z/MO4Uz0mB3Cayf3 o33W4R8sJ6aMWz9DvywdHfTBCiTswmBXtWFLWwTM1+X/8AzbHh1jVsevMV5ZVPyPXDngyeaQbRJN2 Wj6tf3hWLdCUgxvN+/LTQCBGYJEYWlu2lUhHUwwD0tQoYZK9hRTNvqyuDn0NOr34BCsAgPHNnYR3L 84d7vnxA==; Received: from p200300fc1f03db004553a869a185c341.dip0.t-ipconnect.de ([2003:fc:1f03:db00:4553:a869:a185:c341]:62899) by sub7.freenet.de with esmtpsa (ID rissler.wolfgang@01019freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.92 #3) id 1ldUfY-0001LS-8F for pgsql-general@lists.postgresql.org; Mon, 03 May 2021 11:15:12 +0200 Subject: Re: Access a newer Version of PGDB (v13) with an older libpq (v10 x86) To: pgsql-general@lists.postgresql.org References: <3257213.1619792167@sss.pgh.pa.us> From: WR Message-ID: <0a6cd677-b7f1-ed10-97d5-d62ada5d3d19@freenet.de> Date: Mon, 3 May 2021 11:15:11 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Originated-At: 2003:fc:1f03:db00:4553:a869:a185:c341!62899 X-FNSign: v=2 s=60710D1C51E563AE3135B59B0234209723BDE7D18B62763AA007D3BC1E4810CA X-Scan-TS: Mon, 03 May 2021 11:15:12 +0200 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Am 03.05.2021 um 10:41 schrieb Laurenz Albe: > On Sat, 2021-05-01 at 12:59 +0200, Wolfgang Rißler wrote: >> Am 30.04.2021 um 16:16 schrieb Tom Lane: >>> I would recommend trying to use a reasonably late-vintage libpq; we do >>> fix bugs in it on a regular basis. >>> The common stumbling block for cross-version situations is that the >>> client makes assumptions about system catalog contents that are not >>> valid in some other server release. libpq proper doesn't really touch >>> the catalogs, so it's mostly impervious to that problem; but you'll need >>> to test your applications. >> >> Of course we'll do. One thing is, that we load and write bytea's. And as >> I read, there have been some changes. All other Operations are less >> problematic. > > Version 9.0 changed the default "bytea" output format to hexadecimal. > If you want the old text output format, set "bytea_output" to "escape". > > If you output "bytea"s in binary form, nothing has changed. > This is a useful hint. I did this already in my PG10 <-> libpq10(x86) testinstallation. Thank you. -- May the source be with you