From 2e0e430659455a9313bdd250b93f5c4af27d78f0 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Fri, 23 Aug 2002 02:54:18 +0000
Subject: [PATCH] This patch updates the CREATE OPERATOR sgml docs for the new
 default settings of NAMEDATALEN. I looked through the docs for other
 references to NAMEDATALEN, but this is the only one I could find.

Neil Conway
---
 doc/src/sgml/datatype.sgml            | 4 ++--
 doc/src/sgml/ref/create_operator.sgml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index b535d52f170..41ca3c00e53 100644
--- a/doc/src/sgml/datatype.sgml
+++ b/doc/src/sgml/datatype.sgml
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.101 2002/08/23 01:28:17 tgl Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/datatype.sgml,v 1.102 2002/08/23 02:54:18 momjian Exp $
 -->
 
  <chapter id="datatype">
@@ -921,7 +921,7 @@ SELECT b, char_length(b) FROM test2;
     exists <emphasis>only</emphasis> for storage of internal catalog
     names and is not intended for use by the general user.  Its length
     is currently defined as 64 bytes (63 usable characters plus terminator)
-    but should be referenced using the macro
+    but should be referenced using the constant
     <symbol>NAMEDATALEN</symbol>.  The length is set at compile time
     (and is therefore adjustable for special uses); the default
     maximum length may change in a future release.  The type
diff --git a/doc/src/sgml/ref/create_operator.sgml b/doc/src/sgml/ref/create_operator.sgml
index 2a4955113f3..f23644c2950 100644
--- a/doc/src/sgml/ref/create_operator.sgml
+++ b/doc/src/sgml/ref/create_operator.sgml
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_operator.sgml,v 1.30 2002/08/10 19:01:53 tgl Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_operator.sgml,v 1.31 2002/08/23 02:54:18 momjian Exp $
 PostgreSQL documentation
 -->
 
@@ -215,7 +215,7 @@ CREATE OPERATOR
 
   <para>
    The operator <replaceable class="parameter">name</replaceable>
-   is a sequence of up to <symbol>NAMEDATALEN</>-1 (31 by default) characters
+   is a sequence of up to <symbol>NAMEDATALEN</>-1 (63 by default) characters
    from the following list:
    <literallayout>
 + - * / &lt; &gt; = ~ ! @ # % ^ &amp; | ` ? $
-- 
GitLab