From 86c0c2d51721081f087818a1d1f4b5ef4ca445c6 Mon Sep 17 00:00:00 2001 From: tgl Date: Tue, 27 May 2008 18:05:13 +0000 Subject: [PATCH] Clarify description of typmod input function, per Jeff Davis. --- doc/src/sgml/ref/create_type.sgml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml index 641c13e10a..1869965a3b 100644 --- a/doc/src/sgml/ref/create_type.sgml +++ b/doc/src/sgml/ref/create_type.sgml @@ -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. -- 2.11.4.GIT