[prev in list] [next in list] [prev in thread] [next in thread]
List: pgsql-hackers
Subject: Re: psql: Make SSL info display more compact
From: Tom Lane <tgl () sss ! pgh ! pa ! us>
Date: 2022-02-28 15:12:42
Message-ID: 2510882.1646061162 () sss ! pgh ! pa ! us
[Download RAW message or body]
Daniel Gustafsson <daniel@yesql.se> writes:
> On 28 Feb 2022, at 12:56, Peter Eisentraut <peter.eisentraut@enterprised=
b.com> wrote:
>> On 28.02.22 11:50, Dagfinn Ilmari Manns=C3=A5ker wrote:
>>> How about making it show "compression: on" if compression is on, but
>>> nothing in the common "off" case?
>> That would work for me.
> On POLA grounds I would prefer to never to show it. If we ever get libp=
q
> compression and want to show that, I'd prefer that we didn't end up
> "compression" meaning one thing except when it means two things.
Well, any such output would presumably be on a different line and
thus distinguishable from the SSL property; plus, it'd be impossible
for both forms to show up in the same connection.
However, how about writing "SSL compression: on" versus writing
nothing? That avoids doubt about what it means. I don't buy
Michael's argument that this is ambiguous, either.
regards, tom lane
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic