Re: Weird psql crash

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Weird psql crash
Date: 2005-04-08 05:03:16
Message-ID: 9204.1112936596@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
>> SIGQUIT is supposed to do that.

> Seems to be a libreadline thing:

No, it's a built-in thing. See "man stty", "man tty(4)", "man termio"
or related topics depending on your platform. The point is that the
kernel terminal driver takes that as a command to send SIGQUIT to your
program, not much different from mapping control-C to SIGINT for
example. And the default handling for SIGQUIT is stop+dump core.

It's a feature, not a bug.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Qingqing Zhou 2005-04-08 05:36:40 Re: Compressing WAL
Previous Message Tom Lane 2005-04-08 04:54:04 Re: 8.0.2 bundled ...