Re: Question about Ctrl-C and less - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Question about Ctrl-C and less
Date
Msg-id 20051022194631.GF16589@svana.org
Whole thread Raw
In response to Question about Ctrl-C and less  (Martijn van Oosterhout <kleptog@svana.org>)
Responses Re: Question about Ctrl-C and less
List pgsql-hackers
On Sun, Oct 16, 2005 at 03:25:49PM +0200, Martijn van Oosterhout wrote:
> This behaviour has been around so long that I've gotten used to it but
> I've always considered it a bug. Yet it has never been fixed so I'm
> going to ask if anybody else has issues with this behaviour.

I've posted a patch to -patches which fixes all the memory leak and
file descriptor leak issues and well as making psql handle ^C more
gracefully in general. It doesn't address this particular issue though,
thats for another time.

If people want to try it out, please do. it will appear in the archives
soon, otherwise you can download it directly from:

http://svana.org/kleptog/pgsql/psql-ctrlc.patch

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance
Next
From: Thomas Hallgren
Date:
Subject: Re: Lifecycle management