Index: doc/src/sgml/ref/copy.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/ref/copy.sgml,v
retrieving revision 1.46
diff -c -r1.46 copy.sgml
*** doc/src/sgml/ref/copy.sgml 9 May 2003 21:19:48 -0000 1.46
--- doc/src/sgml/ref/copy.sgml 5 Aug 2003 13:09:19 -0000
***************
*** 380,386 ****
The file format used for COPY BINARY changed in
PostgreSQL 7.4. The new format consists
of a file header, zero or more tuples containing the row data, and
! a file trailer.
--- 380,386 ----
The file format used for COPY BINARY changed in
PostgreSQL 7.4. The new format consists
of a file header, zero or more tuples containing the row data, and
! a file trailer. Headers and data are now in network byte order.
***************
*** 481,486 ****
--- 481,495 ----
assumed to be in binary format (format code one). It is anticipated that a
future extension may add a header field that allows per-column format codes
to be specified.
+
+
+
+ To determine the appropriate binary format for the actual tuple data you
+ should consult the PostgreSQL source, in
+ particular the *send> and *recv> functions for
+ the data type (typically found in the src/backend/utils/adt
+ directory). The contrib/binarycopy module
+ can also be used to create an appropriate format file.