aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-05-27 18:05:20 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-05-27 18:05:20 +0000
commit764b10c978cf72b71f08590da103659d2d227d1e (patch)
tree450acd2370e073f7a69ec8dddd5cf6782cd98ff1 /doc/src
parent4bdc7422310330f610a6da6c61e52e8adfabaaf7 (diff)
downloadpostgresql-764b10c978cf72b71f08590da103659d2d227d1e.tar.gz
postgresql-764b10c978cf72b71f08590da103659d2d227d1e.zip
Clarify description of typmod input function, per Jeff Davis.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/create_type.sgml10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml
index 692aecc38f6..a324a15f677 100644
--- a/doc/src/sgml/ref/create_type.sgml
+++ b/doc/src/sgml/ref/create_type.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/create_type.sgml,v 1.73 2007/10/29 17:29:59 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/create_type.sgml,v 1.73.2.1 2008/05/27 18:05:20 tgl Exp $
PostgreSQL documentation
-->
@@ -196,7 +196,7 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
attached to a type declaration, such as <literal>char(5)</> or
<literal>numeric(30,2)</>. <productname>PostgreSQL</productname> 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
<replaceable class="parameter">type_modifier_input_function</replaceable>
is passed the declared modifier(s) in the form of a <type>cstring</>
@@ -212,8 +212,8 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
function might return <literal>(30,2)</>.
It is allowed to omit the
<replaceable class="parameter">type_modifier_output_function</replaceable>,
- 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.
</para>
<para>
@@ -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 an array of modifier(s) for the type
into internal form.
</para>
</listitem>