Re: psql: core dumped

Jeremy Drake <pgsql@jdrake.com>

From: Jeremy Drake <pgsql@jdrake.com>
To: Philip Yarra <philip@utiba.com>
Cc: Mario <gonzalemario@gmail.com>, pgsql-hackers@postgresql.org
Date: 2006-12-20T00:01:58Z
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