Doc patch: type modifiers

Jeff Davis <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.patches
Message-ID <1211901742.26526.261.camel@jdavis>
From
http://developer.postgresql.org/pgdocs/postgres/sql-createtype.html :

type_modifier_input_function
        
        The name of a function that converts numeric modifier(s) for the
        type into internal form. 
        
type_modifier_output_function
        
        The name of a function that converts the internal form of the
        type's modifier(s) to external textual form. 

But the paragraph above says:

"...take one or more simple constants or identifiers as modifiers..."

So in the description of the input function, "numeric" is wrong, and
should be something like "textual" (for the sake of symmetry).

Patch attached.

Regards,
	Jeff Davis


-- 
Sent via pgsql-patches mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
typmod_doc.patch (text/x-patch, 608 B)
diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml
index 641c13e..d7d1a0b 100644
--- a/doc/src/sgml/ref/create_type.sgml
+++ b/doc/src/sgml/ref/create_type.sgml
@@ -433,7 +433,7 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
     <term><replaceable class="parameter">type_modifier_input_function</replaceable></term>
     <listitem>
      <para>
-      The name of a function that converts numeric modifier(s) for the type
+      The name of a function that converts textual modifier(s) for the type
       into internal form.
      </para>
     </listitem>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.