pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gustavsson Mikael <mikael.gustavsson@smhi.se>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Cc: Svensson Peter <peter.svensson@smhi.se>
Subject: Re: SV: SV: SV: Problem with ssl and psql in Postgresql 13
Date: Fri, 18 Dec 2020 15:02:50 -0500
Message-ID: <169637.1608321770@sss.pgh.pa.us> (raw )
In-Reply-To: <d3ab9042bce34aae85d323d69e3ee430@smhi.se >
References: <e5b0b6ed05764324a2f3fe7acfc766d5@smhi.se >
<20201217.172938.170511532557914014.horikyota.ntt@gmail.com >
<06191eae74d045e192a786a84a73ba53@smhi.se >
<65644.1608214801@sss.pgh.pa.us >
<a748b98ff0a94fe0a1ca54872ec5a25e@smhi.se >
<CABUevEz0tuQzXYmgDGDsbhs+8V-WOp2cSpM1S70S5L+gSDRGUg@mail.gmail.com >
<a9e6ef756df24fba948b5c09b1f30229@smhi.se >
<CABUevEz_eHh=R6C_C7GChF8w_aG4pMPDAvjJFa92cspAb3SSkg@mail.gmail.com >
<698125e1105644adaa27578bb37b18f6@smhi.se >
<89909.1608222331@sss.pgh.pa.us >
<61e2a65bbc2f47d297a6f3cdac2cc6cc@smhi.se >
<d3ab9042bce34aae85d323d69e3ee430@smhi.se >
Gustavsson Mikael <mikael.gustavsson@smhi.se> writes:
> pgsql-13 with require:
> $ /usr/pgsql-13/bin/psql "dbname=postgres user=kalle host=server sslmode=require"
> Password for user kalle:
> psql (13.1)
> Type "help" for help.
That is just bizarre. libpq should not ignore the sslmode=require option
like that, unless it thinks it's making a Unix-socket connection, which
it should not think given the host specification. (There's not a slash
in your server's real name, is there? But if there was, v11 should
misbehave too.)
It seems like there must be some environment setting, or maybe a service
file, changing the behavior from what it should be on its face. But
that theory has big flaws too: an explicit sslmode=require setting should
not be overridable from environment, and even if it was, why wouldn't v11
act the same?
The only other conclusion I can think of is that your copy of libpq.so
is broken. Maybe you should try redownloading/reinstalling v13.
regards, tom lane
view thread (3+ messages)
Message-ID: <169637.1608321770@sss.pgh.pa.us>
Permalink: ../169637.1608321770@sss.pgh.pa.us/
Also on: postgresql.org/message-id/169637.1608321770@sss.pgh.pa.us
copy link · copy postgr.es
reply 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 using the --to and --cc options:
reply via email
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, mikael.gustavsson@smhi.se, magnus@hagander.net, horikyota.ntt@gmail.com, peter.svensson@smhi.se
Subject: Re: SV: SV: SV: Problem with ssl and psql in Postgresql 13
In-Reply-To: <169637.1608321770@sss.pgh.pa.us>
* 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