From: Tom Lane Date: Tue, 27 May 2008 18:05:13 +0000 (+0000) Subject: Clarify description of typmod input function, per Jeff Davis. X-Git-Tag: REL8_4_BETA1~1334 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e35ee671a82c2647f28585c42c327c88235750aa;p=postgresql Clarify description of typmod input function, per Jeff Davis. --- diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml index 692aecc38f..e643f09825 100644 --- a/doc/src/sgml/ref/create_type.sgml +++ b/doc/src/sgml/ref/create_type.sgml @@ -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.