From b1ee615a7f9b645d72ee560b74e4621ed5936cf8 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 9 May 2003 21:19:50 +0000 Subject: COPY BINARY uses the new binary I/O routines. Update a few more datatypes so that COPY BINARY regression test passes. --- doc/src/sgml/ref/copy.sgml | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index f60388bb05b..0e24f8b3eec 100644 --- a/doc/src/sgml/ref/copy.sgml +++ b/doc/src/sgml/ref/copy.sgml @@ -1,5 +1,5 @@ @@ -541,28 +541,22 @@ ZW ZIMBABWE - XXX the following example is OBSOLETE and needs to be updated for the - 7.4 binary format: - - - - The following is the same data, output in binary format on a - Linux/i586 machine. The data is shown after filtering through the + The following is the same data, output in binary format. + The data is shown after filtering through the Unix utility od -c. The table has three columns; the first has type char(2), the second has type text, and the third has type integer. All the rows have a null value in the third column. -0000000 P G B C O P Y \n 377 \r \n \0 004 003 002 001 -0000020 \0 \0 \0 \0 \0 \0 \0 \0 003 \0 377 377 006 \0 \0 \0 -0000040 A F 377 377 017 \0 \0 \0 A F G H A N I S -0000060 T A N \0 \0 003 \0 377 377 006 \0 \0 \0 A L 377 -0000100 377 \v \0 \0 \0 A L B A N I A \0 \0 003 \0 -0000120 377 377 006 \0 \0 \0 D Z 377 377 \v \0 \0 \0 A L -0000140 G E R I A \0 \0 003 \0 377 377 006 \0 \0 \0 Z -0000160 M 377 377 \n \0 \0 \0 Z A M B I A \0 \0 003 -0000200 \0 377 377 006 \0 \0 \0 Z W 377 377 \f \0 \0 \0 Z -0000220 I M B A B W E \0 \0 377 377 +0000000 P G C O P Y \n 377 \r \n \0 \0 \0 \0 \0 \0 +0000020 \0 \0 \0 \0 003 \0 \0 \0 002 A F \0 \0 \0 013 A +0000040 F G H A N I S T A N 377 377 377 377 \0 003 +0000060 \0 \0 \0 002 A L \0 \0 \0 007 A L B A N I +0000100 A 377 377 377 377 \0 003 \0 \0 \0 002 D Z \0 \0 \0 +0000120 007 A L G E R I A 377 377 377 377 \0 003 \0 \0 +0000140 \0 002 Z M \0 \0 \0 006 Z A M B I A 377 377 +0000160 377 377 \0 003 \0 \0 \0 002 Z W \0 \0 \0 \b Z I +0000200 M B A B W E 377 377 377 377 377 377 -- cgit v1.2.3