Re: [PATCH] immediately kill psql process if server is not running. - Mailing list pgsql-hackers

From Srinath Reddy
Subject Re: [PATCH] immediately kill psql process if server is not running.
Date
Msg-id CAFC+b6r=QQ4UFYTF98Q80JWa1_q605Sb6a4roARJ2SUdovnoqw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] immediately kill psql process if server is not running.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers


On Sun, Jan 19, 2025 at 3:55 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:

One idea that seems like it could be safe is to change the prompt,
so that your experience could be like

postgres=# SELECT foo, bar, baz, <enter>
<DEAD!>-# (uh-oh)

This only helps for people who are entering multi-line SQL,

+1,will look into it.

Thanks.
Srinath Reddy Sadipiralla,

pgsql-hackers by date:

Previous
From: "ISHAN CHHANGANI ."
Date:
Subject: How to deinitialize a connection for background worker
Next
From: Maiquel Grassi
Date:
Subject: Re: Psql meta-command conninfo+