From: Tom Lane <tgl@sss.pgh.pa.us>
To: s-morita@beingcorp.co.jp
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7914: pg_dump aborts occasionally
Date: Mon, 04 Mar 2013 15:37:14 -0500
Message-ID: <17113.1362429434@sss.pgh.pa.us> (raw)
In-Reply-To: <E1UCTUD-0000L3-C1@wrigleys.postgresql.org>
References: <E1UCTUD-0000L3-C1@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
s-morita@beingcorp.co.jp writes:
> I encountered a strange error during pg_dump as below:
> ----
> pg_dump: Dumping the contents of table "t_file_data" failed: PQgetCopyData()
> failed.
> pg_dump: Error message from server: lost synchronization with server: got
> message type "d", length 21861
Hm. Can you create a reproducible test case for this?
> I think that pqCheckInBufferSpace() should be called only when inBuffer is
> left-justified like this:
> 1432: if (conn->inStart == 0 && pqCheckInBufferSpace(conn->inCursor +
> (size_t) msgLength - 4,
I think changing that code that way would break the considerations
mentioned in pqParseInput3; nor is it clear why this would help, anyway.
It doesn't seem likely that the buffer is so large that it can't be
enlarged by another 20K.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, s-morita@beingcorp.co.jp
Subject: Re: BUG #7914: pg_dump aborts occasionally
In-Reply-To: <17113.1362429434@sss.pgh.pa.us>
References: <E1UCTUD-0000L3-C1@wrigleys.postgresql.org> <17113.1362429434@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox