Re: sigint psql

From: John DeSoi <desoi(at)pgedit(dot)com>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "Doug McNaught" <doug(at)mcnaught(dot)org>, "pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: Re: sigint psql
Date: 2005-02-21 21:09:20
Message-ID: DAB35616-844C-11D9-9743-000A95B03262@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Feb 21, 2005, at 3:00 PM, Magnus Hagander wrote:

> There is no way so signal *psql*, as in the client side process. The
> signal emulation only runs in the server.
>
> You can do the same thing in the server using pg_ctl kill, but that
> won't work on client processes.

Thanks to everyone for the feedback and suggestions. Since I need this
to work on win32, I guess I'll just abort the stream and reconnect. The
main issue with this is trying to restore any state associated with the
connection (e.g. search_path).

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John DeSoi 2005-02-21 21:29:10 Re: sigint psql
Previous Message Magnus Hagander 2005-02-21 20:00:23 Re: sigint psql