Re: pgBackrest Error : authentication method 10 not supported - Mailing list pgsql-general

From Daulat
Subject Re: pgBackrest Error : authentication method 10 not supported
Date
Msg-id CALfOM6JaRquBA7ZZtFg-iS4gOh=ju0jDVKSPhpcSXZNe5Zs7Rw@mail.gmail.com
Whole thread Raw
In response to Re: pgBackrest Error : authentication method 10 not supported  (Magnus Hagander <magnus@hagander.net>)
Responses Re: pgBackrest Error : authentication method 10 not supported  (Magnus Hagander <magnus@hagander.net>)
List pgsql-general
I have pgbackrest   v.43  installed on the same server where we are running postgres v14.6 that is upgraded from postgres v.10.2

 ls  /opt/PostgreSQL-14/lib/

libecpg.a            libecpg_compat.so.3.14  libpgcommon.a        libpgport_shlib.a  libpgtypes.so.3.14  libpq.so.5.14
libecpg_compat.a     libecpg.so              libpgcommon_shlib.a  libpgtypes.a       libpq.a             pkgconfig
libecpg_compat.so    libecpg.so.6            libpgfeutils.a       libpgtypes.so      libpq.so            postgresql
libecpg_compat.so.3  libecpg.so.6.14         libpgport.a          libpgtypes.so.3    libpq.so.5

Thanks,

On Tue, Jan 31, 2023 at 7:32 PM Magnus Hagander <magnus@hagander.net> wrote:


On Tue, Jan 31, 2023 at 2:58 PM Daulat <daulat.dba@gmail.com> wrote:
Hello,

I am getting an error message " authentication method 10 not supported" while trying to create stanza on postgres14 after upgrading postgres from v.10 to Postgres v.14. 

I am using pgbackrest version:  v.43 and the scram-sha-256 for hba authentication.

This sounds like your libpq is too old, and is not related to backrest itself.

Make sure you have libpq of at least version 10 as well, and not just the server. (Exact package name will of course depend on what distribution you're on, which you didn't specify)

--

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: FATAL: database "xxx" does not exist when it does
Next
From: "jacktby@gmail.com"
Date:
Subject: How to write a new tuple into page?