Clarify description of typmod input function, per Jeff Davis.
authorTom Lane
Tue, 27 May 2008 18:05:13 +0000 (18:05 +0000)
committerTom Lane
Tue, 27 May 2008 18:05:13 +0000 (18:05 +0000)
doc/src/sgml/ref/create_type.sgml

index 692aecc38f6735bcac4f9b9b05117d55bda5ea93..e643f0982523368aa1eee780f898d1674b3bc1f6 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -196,7 +196,7 @@ CREATE TYPE name
    attached to a type declaration, such as char(5) or
    numeric(30,2).  PostgreSQL allows
    user-defined types to take one or more simple constants or identifiers as
-   modifiers; however, this information must be capable of being packed into a
+   modifiers.  However, this information must be capable of being packed into a
    single non-negative integer value for storage in the system catalogs.  The
    type_modifier_input_function
    is passed the declared modifier(s) in the form of a cstring
@@ -212,8 +212,8 @@ CREATE TYPE name
    function might return (30,2).
    It is allowed to omit the
    type_modifier_output_function,
-   in which case the default display format is just the stored typmod value
-   enclosed in parentheses.
+   in which case the default display format is just the stored typmod integer
+   value enclosed in parentheses.
   
 
   
@@ -433,7 +433,7 @@ CREATE TYPE name
     type_modifier_input_function
     
      
-      The name of a function that converts numeric modifier(s) for the type
+      The name of a function that converts an array of modifier(s) for the type
       into internal form.