Re: Access a newer Version of PGDB (v13) with an older libpq (v10 x86)

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Wolfgang Rißler <wolfgang(dot)rissler(at)freenet(dot)de>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Access a newer Version of PGDB (v13) with an older libpq (v10 x86)
Date: 2021-05-03 08:41:29
Message-ID: caea3f9f51dc10830763186b67cfeaf65532c74b.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Laurenz Albe 2021-05-03 08:43:33 Re: "invalid contrecord" error on replica
Previous Message Wolfgang Rißler 2021-05-03 06:09:27 Re: Access a newer Version of PGDB (v13) with an older libpq (v10 x86)