Re: Can not close psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can not close psql
Дата
Msg-id 1569201.1760652723@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can not close psql  (PG Doc comments form <noreply@postgresql.org>)
Список 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 по дате отправления: