Re: Data Dump Issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Data Dump Issue
Дата
Msg-id 16569.1032535943@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Data Dump Issue  (Murali Mohan Kasetty <kasetty@india.hp.com>)
Список pgsql-general
Murali Mohan Kasetty <kasetty@india.hp.com> writes:
> When I try to run the command (2)  in Second server, I got the following
> error

> "pqReadData() -- backend closed the channel unexpectedly.
>         This probably means the backend terminated abnormally
>         before or while processing the request.
>         PQendcopy: resetting connection"

> and the error message on Postmaster console is  "Socket command type \
> unknown"

You sure that's the only message?  This looks like the second backend
has rejected some line of COPY data (probably due to a foreign-key or
unique constraint).  The relevant error would be before the complaint
about socket command unknown.

            regards, tom lane

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

Предыдущее
От: Aaron Held
Дата:
Сообщение: Monitoring a Query
Следующее
От: Chris Gamache
Дата:
Сообщение: Tips for re-using function results within single insert