From: WR <wolle321@freenet.de>
To: pgsql-general@lists.postgresql.org
Subject: Re: Access a newer Version of PGDB (v13) with an older libpq (v10 x86)
Date: Mon, 3 May 2021 11:15:11 +0200
Message-ID: <0a6cd677-b7f1-ed10-97d5-d62ada5d3d19@freenet.de> (raw)
In-Reply-To: <caea3f9f51dc10830763186b67cfeaf65532c74b.camel@cybertec.at>
References: <a520fbc6-c95b-5b39-7414-b87fd371f57a@freenet.de>
<3257213.1619792167@sss.pgh.pa.us>
<f43f1181-0132-eeaa-a363-10f619107d0d@freenet.de>
<caea3f9f51dc10830763186b67cfeaf65532c74b.camel@cybertec.at>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: wolle321@freenet.de
Subject: Re: Access a newer Version of PGDB (v13) with an older libpq (v10 x86)
In-Reply-To: <0a6cd677-b7f1-ed10-97d5-d62ada5d3d19@freenet.de>
References: <a520fbc6-c95b-5b39-7414-b87fd371f57a@freenet.de> <3257213.1619792167@sss.pgh.pa.us> <f43f1181-0132-eeaa-a363-10f619107d0d@freenet.de> <caea3f9f51dc10830763186b67cfeaf65532c74b.camel@cybertec.at> <0a6cd677-b7f1-ed10-97d5-d62ada5d3d19@freenet.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox