sigint psql

From: John DeSoi <desoi(at)pgedit(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: sigint psql
Date: 2005-02-18 13:16:28
Message-ID: 4C513AE0-81AF-11D9-9C09-000A95B03262@pgedit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I'm communicating with psql via a pipe stream. This works pretty well,
but one problem I have is trying to cancel an operation. If I send a
sigint, psql dies. In looking at the source I gather this is because it
assumes I'm in non-interactive mode (pset.notty is true). I was
wondering if there was some way to work around this short of
recompiling the source. I need to do the same thing on Windows.

Thanks for any suggestions,

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2005-02-18 14:05:48 SPI_finish and RegisterExprContextCallback
Previous Message Dave Page 2005-02-18 12:49:36 Re: UTF8 or Unicode