Can't terminate hung COPY

Поиск
Список
Период
Сортировка
От David Rees
Тема Can't terminate hung COPY
Дата
Msg-id CAHtT9RvdODRVC-iAq-BKaXPOKrPxcjMnohwtgKrGEJ7xKGXtcg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Can't terminate hung COPY
Re: Can't terminate hung COPY
Список pgsql-general
PostgreSQL 8.4.16 on CentOS 5.9.

I've run into a situation where executing a \COPY from psql will hang
and at that point it's impossible to terminate the COPY command.

I've tried pg_cancel_backend and pg_terminalte_backend - even sending
the process itself a TERM signal.

Sending the process KILL works, but of course that restarts the entire
server which is far from ideal.

Any idea on how to cleanly terminal the offending process at this point?

Any idea on what may cause \COPY to hang and how to prevent it?

Thanks

Dave


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

Предыдущее
От: Shaun Thomas
Дата:
Сообщение: Re: "Leaking" disk space on FreeBSD servers
Следующее
От: Michael Orlitzky
Дата:
Сообщение: State of the art re: group default privileges