public inbox for [email protected]
help / color / mirror / Atom feedlibpq15 with postgres server16 and scram-sha-256
2+ messages / 2 participants
[nested] [flat]
* libpq15 with postgres server16 and scram-sha-256
@ 2024-09-04 10:54 MM <[email protected]>
2024-09-04 11:24 ` Re: libpq15 with postgres server16 and scram-sha-256 Laurenz Albe <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: MM @ 2024-09-04 10:54 UTC (permalink / raw)
To: [email protected]
Hello
is it possible to connect with PGConnectdb version 15 to a server that has
in METHOD in pg_hba.conf "scram-sha-256"
or do I need version libpq 16 ?
If so, being constrained to remain at 15 libpq for now, is md5 allowed?
Rds,
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: libpq15 with postgres server16 and scram-sha-256
2024-09-04 10:54 libpq15 with postgres server16 and scram-sha-256 MM <[email protected]>
@ 2024-09-04 11:24 ` Laurenz Albe <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Laurenz Albe @ 2024-09-04 11:24 UTC (permalink / raw)
To: MM <[email protected]>; [email protected]
On Wed, 2024-09-04 at 11:54 +0100, MM wrote:
> is it possible to connect with PGConnectdb version 15 to a server that has in METHOD in pg_hba.conf "scram-sha-256"
> or do I need version libpq 16 ?
You can use "scram-sha-256" authentication from v10 on.
Note that it only works if the database password is a scram-sha-256 hash, not an MD5 hash.
Yours,
Laurenz Albe
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-09-04 11:24 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-04 10:54 libpq15 with postgres server16 and scram-sha-256 MM <[email protected]>
2024-09-04 11:24 ` Laurenz Albe <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox