Index: doc/src/sgml/datatype.sgml
===================================================================
RCS file: /home/projects/pgsql/cvsroot/pgsql/doc/src/sgml/datatype.sgml,v
retrieving revision 1.60
diff -c -r1.60 datatype.sgml
*** doc/src/sgml/datatype.sgml	2001/08/31 01:55:25	1.60
--- doc/src/sgml/datatype.sgml	2001/09/04 03:15:49
***************
*** 84,89 ****
--- 84,95 ----
        </row>
  
        <row>
+        <entry><type>bytea</type></entry>
+        <entry></entry>
+        <entry>binary data</entry>
+       </row>
+ 
+       <row>
         <entry><type>character(<replaceable>n</replaceable>)</type></entry>
         <entry><type>char(<replaceable>n</replaceable>)</type></entry>
         <entry>fixed-length character string</entry>
***************
*** 782,788 ****
  	<entry>text</entry>
  	<entry>Variable unlimited length</entry>
         </row>
!       </tbody>
       </tgroup>
      </table>
  
--- 788,798 ----
  	<entry>text</entry>
  	<entry>Variable unlimited length</entry>
         </row>
!         <row>
! 	<entry>bytea</entry>
! 	<entry>binary data</entry>
!        </row>
!      </tbody>
       </tgroup>
      </table>
  
***************
*** 827,832 ****
--- 837,855 ----
      does not require an explicit declared upper limit on the size of
      the string.  Although the type <type>text</type> is not in the SQL
      standard, many other RDBMS packages have it as well.
+    </para>
+ 
+    <para>
+     The <type>bytea</type> data type allows storage of binary data,
+     specifically allowing storage of NULLs which are entered as
+     <literal>'\\000'</>. The first backslash is interpreted by the
+     single quotes, and the second is recognized by <type>bytea</> and
+     preceeds a three digit octal value. For a similar reason, a
+     backslash must be entered into a field as <literal>'\\\\'</> or
+     <literal>'\\134'</>. You may also have to escape line feeds and
+     carriage return if your interface automatically translates these. It
+     can store values of any length. <type>Bytea</> is a non-standard
+     data type.
     </para>
  
     <para>
