Re: Weird psql crash - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Weird psql crash
Date
Msg-id 9204.1112936596@sss.pgh.pa.us
Whole thread Raw
In response to Re: Weird psql crash  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: 8.0.2 bundled ...
Next
From: Simon Riggs
Date:
Subject: Re: prepared statements don't log arguments?