Re: psql: core dumped
От | Alvaro Herrera |
---|---|
Тема | Re: psql: core dumped |
Дата | |
Msg-id | 20061220011241.GT3036@alvh.no-ip.org обсуждение исходный текст |
Ответ на | Re: psql: core dumped (Jeremy Drake <pgsql@jdrake.com>) |
Ответы |
Re: psql: core dumped
|
Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: