Re: psql: core dumped - Mailing list pgsql-hackers

From Jeremy Drake
Subject Re: psql: core dumped
Date
Msg-id Pine.BSO.4.64.0612191558480.26109@resin.csoft.net
Whole thread Raw
In response to Re: psql: core dumped  (Philip Yarra <philip@utiba.com>)
Responses Re: psql: core dumped  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On Wed, 20 Dec 2006, Philip Yarra wrote:

> Mario wrote:
> >   Even if you get a core dumped every time you press CTRL+\  ?  why?
>
> Try ulimit -c 0, then run it (you should get no core dump)
> Then ulimit -c 500000, then run it (you should get a core dump)
>
> SIGQUIT is supposed to dump core. Ulimit settings can suppress generation of
> core files. The difference between your machine and your friend's is likely
> just the ulimit settings.

If you want to type CTRL+\ you can redefine what char generates SIGQUIT
with stty quit command.  For instance,

stty quit ^@




-- 
fortune's Contribution of the Month to the Animal Rights Debate:
I'll stay out of animals' way if they'll stay out of mine."Hey you, get off my plate"    -- Roger Midnight


pgsql-hackers by date:

Previous
From: "Thomas H."
Date:
Subject: Re: Release 8.2.0 done, 8.3 development starts
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Companies Contributing to Open Source