Jeremy Drake wrote:
> 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.

I think the problem Mario is really trying to solve is quitting at
psql's "Password: " prompt.  Ctrl-C is ignored at that point apparently.
SIGQUIT (thus Ctrl-\ in most people's setup) does it but it also dumps
core.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

Reply via email to