Re: [PATCH] immediately kill psql process if server is not running.

From: Srinath Reddy <srinath2133(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] immediately kill psql process if server is not running.
Date: 2025-01-20 13:15:43
Message-ID: CAFC+b6r=QQ4UFYTF98Q80JWa1_q605Sb6a4roARJ2SUdovnoqw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jan 19, 2025 at 3:55 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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,

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2025-01-20 13:26:55 Re: per backend I/O statistics
Previous Message vignesh C 2025-01-20 12:44:40 Re: create subscription with (origin = none, copy_data = on)