Re: Can not close psql - Mailing list pgsql-docs

From Tom Lane
Subject Re: Can not close psql
Date
Msg-id 1569201.1760652723@sss.pgh.pa.us
Whole thread Raw
In response to Can not close psql  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> I was connected to database via `psql` then I rebooted DB. I was not able to
> disconnect from terminal after that. Only whole window close helped.

A documentation comment is a very poor way to submit a trouble
report...

> FATAL:  terminating connection due to administrator command
> SSL connection has been closed unexpectedly
> The connection to the server was lost. Attempting reset:
> ^C^C^C^C

Hmm.  When I try this I get either

postgres=# \d
FATAL:  terminating connection due to administrator command
SSL connection has been closed unexpectedly
The connection to the server was lost. Attempting reset: Failed.
!?>

or

postgres=# \d
FATAL:  terminating connection due to administrator command
SSL connection has been closed unexpectedly
The connection to the server was lost. Attempting reset: Succeeded.
SSL connection (protocol: TLSv1.3, cipher: TLS_AES_256_GCM_SHA384, compression: off, ALPN: postgresql)
postgres=#

(depending on whether I restarted the server yet), with pretty
much no delay.  You'll need to provide a lot more context about
your setup if you want useful help.  What's the platform?  Is
the server on the same machine as psql, or remote?  What
connection options are you using besides SSL?  What OpenSSL
version is psql using?  For that matter, which psql version
is it?

https://wiki.postgresql.org/wiki/Guide_to_reporting_problems

            regards, tom lane



pgsql-docs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Can not close psql
Next
From: Sergei Katkovsky
Date:
Subject: Re: BPCHAR description in 8.3. Character Types is misleading and incomplete