Can not close psql - Mailing list pgsql-docs

From PG Doc comments form
Subject Can not close psql
Date
Msg-id 176062103146.770.13933926146695087061@wrigleys.postgresql.org
Whole thread Raw
Responses Re: Can not close psql
Re: Can not close psql
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/18/app-psql.html
Description:

Hello.
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.

```
userdb=>
userdb=> \d
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


^C^C^C^C^C


^C^C^C^C^C
^X^Z
3
asdf

dfafasf




^C^C^C^C^C^C^C
```

It would be nice if `psql` allows to disconnect from console if a connection
to database was lost.

pgsql-docs by date:

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