pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gustavsson Mikael <mikael.gustavsson@smhi.se>
To: Tom Lane <tgl@sss.pgh.pa.us>
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: SV: SV: SV: SV: Problem with ssl and psql in Postgresql 13
Date: Tue, 22 Dec 2020 08:07:17 +0000
Message-ID: <c347c62b507743ceac0aaebd0ccff533@smhi.se> (raw)
In-Reply-To: <169637.1608321770@sss.pgh.pa.us>
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>
	<169637.1608321770@sss.pgh.pa.us>

Hi,


Yes it´s odd. I think we begin with download/reinstall and take it from there.

The server name is just letters and numbers so I think we can rule that out.


Christmas is coming up fast as usual so I think I will pick this up in January.

Thanks for all the help and Happy Christmas! Or God Jul as we say in Sweden.


KR

Mikael Gustavsson, SMHI

________________________________
Från: Tom Lane <tgl@sss.pgh.pa.us>
Skickat: den 18 december 2020 21:02:50
Till: Gustavsson Mikael
Kopia: Magnus Hagander; Kyotaro Horiguchi; pgsql-general@postgresql.org; Svensson Peter
Ämne: Re: SV: SV: SV: Problem with ssl and psql in Postgresql 13

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 (4+ messages)  latest in thread

Message-ID: <c347c62b507743ceac0aaebd0ccff533@smhi.se>
Permalink:  ../c347c62b507743ceac0aaebd0ccff533@smhi.se/
Also on:    postgresql.org/message-id/c347c62b507743ceac0aaebd0ccff533@smhi.se

 · 

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: mikael.gustavsson@smhi.se, tgl@sss.pgh.pa.us, magnus@hagander.net, horikyota.ntt@gmail.com, peter.svensson@smhi.se
  Subject: Re: SV: SV: SV: SV: Problem with ssl and psql in Postgresql 13
  In-Reply-To: <c347c62b507743ceac0aaebd0ccff533@smhi.se>

* 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