Re: Question about Ctrl-C and less

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Question about Ctrl-C and less
Date: 2005-10-22 19:46:32
Message-ID: 20051022194631.GF16589@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)svana(dot)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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2005-10-22 20:09:12 Re: Lifecycle management
Previous Message Tom Lane 2005-10-22 18:52:39 Re: [PATCHES] Win32 CHECK_FOR_INTERRUPTS() performance