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.