Re: unexpected message type 0x58 during COPY from stdin

Поиск
Список
Период
Сортировка
Искать
От
bricklen
Тема
Re: unexpected message type 0x58 during COPY from stdin
Дата
Msg-id
AANLkTimFA3-BD4wtf7Qb96hRXRp6jigcrnwfUXb2Mpso@mail.gmail.com
Ответ на
Список
Дерево обсуждения
unexpected message type 0x58 during COPY from stdin bricklen <bricklen@gmail.com>
Re: unexpected message type 0x58 during COPY from stdin Tom Lane <tgl@sss.pgh.pa.us>
Re: unexpected message type 0x58 during COPY from stdin bricklen <bricklen@gmail.com>
Re: unexpected message type 0x58 during COPY from stdin bricklen <bricklen@gmail.com>
Re: unexpected message type 0x58 during COPY from stdin Thom Brown <thom@linux.com>
Re: unexpected message type 0x58 during COPY from stdin bricklen <bricklen@gmail.com>
On Wed, Aug 25, 2010 at 12:01 PM, Tom Lane  wrote:
>
> bricklen  writes:
> > I'm getting a strange error during reload of one of our databases.
>
> This appears to indicate that the server's first idea that there was
> trouble came when the client side disconnected partway through a COPY:
>
> > 2010-08-25 04:16:46 PDT [2401]: [1-1] (user=postgres) ERROR:  unexpected
> > message type 0x58 during COPY from stdin
>
> (0x58 = 'X' = Terminate message, implying client called PQfinish)
>
> So it would be useful to look at what pg_restore thinks happened.
> I rather suspect your cron setup sends pg_restore's output to
> /dev/null ... or at least you failed to show it.
>
>                        regards, tom lane


cron:

MAILTO=""

30 2 * * * /var/lib/pgsql/sync-db.sh 2>&1

I'll modify that to append to a log file and see what else turns up.
В списке pgsql-general по дате отправления
От: Denis Papathanasiou
Дата:
От: wei725@lycos.com
Дата:
FAQ