Can not close psql

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: kes-kes(at)yandex(dot)ru
Subject: Can not close psql
Date: 2025-10-16 13:23:51
Message-ID: 176062103146.770.13933926146695087061@wrigleys.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Sergei Katkovsky 2025-10-16 14:19:51 Re: BPCHAR description in 8.3. Character Types is misleading and incomplete
Previous Message David G. Johnston 2025-10-16 12:36:50 Re: BPCHAR description in 8.3. Character Types is misleading and incomplete