View Single Post

   
  #7 (permalink)  
Old 04-12-2008, 06:04 AM
Jeremy Drake
 
Posts: n/a
Default Re: psql: core dumped

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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

Reply With Quote