Re: terminating connection because of crash of another server process

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: terminating connection because of crash of another server process
Дата
Msg-id 10900.1244991815@sss.pgh.pa.us
обсуждение исходный текст
Ответ на terminating connection because of crash of another server process  (sergio nogueira <sergiopnog@gmail.com>)
Список pgsql-general
sergio nogueira <sergiopnog@gmail.com> writes:
> then i kill the process executing the truncate.
> the result:

> LOG:  server process (PID 3421) was terminated by signal 9:
> Killed

> Any idea on how to prevent this?

Don't do that.  kill -9 is *never* the recommended way to terminate a
query.  Next time try kill -INT, if you must do something like this.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: sergio nogueira
Дата:
Сообщение: terminating connection because of crash of another server process
Следующее
От: APseudoUtopia
Дата:
Сообщение: Opinions on how to Integrate Transactions