Re: Can't terminate hung COPY

Поиск
Список
Период
Сортировка
От David Rees
Тема Re: Can't terminate hung COPY
Дата
Msg-id CAHtT9Rv7nv2-B=qqdkJSOJYdf0UYC6ZU+j9xr81A3=oshhMyYw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Can't terminate hung COPY  (Martín Marqués <martin.marques@gmail.com>)
Список pgsql-general
On Wed, Mar 20, 2013 at 1:12 PM, Martín Marqués
<martin.marques@gmail.com> wrote:
> What happens if you use COPY ... FROM with the same data?

I will try that, but if you look at pg_stat_activity the full command
is a COPY <table> (<columns), FROM STDIN.

> Are you sure the process hangs (strange thing is that you can't
> terminate the backend)? Could it be that it looks like it hung, but
> it's actually COPYing a huge chunk of data?

The file that psql is reading from is tiny - less than 3kB so that's
definitely not the issue...

-Dave


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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Fast Shutdown (SIGINT) results in a CHECKPOINT...
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Fast Shutdown (SIGINT) results in a CHECKPOINT...