Re: [GENERAL] Invalid field size - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Invalid field size
Date
Msg-id 11529.1499195385@sss.pgh.pa.us
Whole thread Raw
In response to Re: [GENERAL] Invalid field size  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-general
"Daniel Verite" <daniel@manitou-mail.org> writes:
>     Tom Lane wrote:
>> If it is a newline-conversion problem, compressed pg_dump archives would
>> be just as subject to corruption as your binary COPY file is.

> It's mentioned in [1] that the signature at the beginning of these files
> embed a CRLF to detect this newline-conversion problem early on,

Oh, I'd forgotten about that.

> so I would expect COPY IN to stumble on a corrupted signature
> and abort earlier in the process, if that conversion occurred.

Right.  I'm probably barking up the wrong tree, then.

            regards, tom lane


pgsql-general by date:

Previous
From: rjhb@bb-c.de (Rainer J.H. Brandt)
Date:
Subject: [GENERAL] 64bit initdb failure on macOS 10.11 and 10.12
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] 64bit initdb failure on macOS 10.11 and 10.12