Re: Re: COPY BINARY file format proposal - Mailing list pgsql-hackers

From Philip Warner
Subject Re: Re: COPY BINARY file format proposal
Date
Msg-id 3.0.5.32.20001208221552.0306fb10@mail.rhyme.com.au
Whole thread Raw
In response to Re: Re: COPY BINARY file format proposal  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: COPY BINARY file format proposal
List pgsql-hackers
At 02:31 8/12/00 -0500, Tom Lane wrote:
>
>How about:
>
>Signature: 12-byte sequence "PGBCOPY\n\377\r\n\0" (detects newline
>replacements, dropped nulls, dropped high bits, parity changes);
>
>Integer layout field: int32 constant 0x01020304 in source's byte order.
>

How about a CRC? ;-P


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: RE: RFC: CRC datatype
Next
From: "Horst Herb"
Date:
Subject: Re: RFC: CRC datatype