Re: psql: core dumped

From: Jeremy Drake <pgsql(at)jdrake(dot)com>
To: Philip Yarra <philip(at)utiba(dot)com>
Cc: Mario <gonzalemario(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql: core dumped
Date: 2006-12-20 00:01:58
Message-ID: Pine.BSO.4.64.0612191558480.26109@resin.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-12-20 00:08:00 Re: Autovacuum Improvements
Previous Message Gregory Stark 2006-12-19 23:59:12 Re: psql: core dumped