Skip to content

Commit e35ee67

Browse files
committed
Clarify description of typmod input function, per Jeff Davis.
1 parent ea7f964 commit e35ee67

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/src/sgml/ref/create_type.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/create_type.sgml,v 1.73 2007/10/29 17:29:59 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/create_type.sgml,v 1.74 2008/05/27 18:05:13 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -196,7 +196,7 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
196196
attached to a type declaration, such as <literal>char(5)</> or
197197
<literal>numeric(30,2)</>. <productname>PostgreSQL</productname> allows
198198
user-defined types to take one or more simple constants or identifiers as
199-
modifiers; however, this information must be capable of being packed into a
199+
modifiers. However, this information must be capable of being packed into a
200200
single non-negative integer value for storage in the system catalogs. The
201201
<replaceable class="parameter">type_modifier_input_function</replaceable>
202202
is passed the declared modifier(s) in the form of a <type>cstring</>
@@ -212,8 +212,8 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
212212
function might return <literal>(30,2)</>.
213213
It is allowed to omit the
214214
<replaceable class="parameter">type_modifier_output_function</replaceable>,
215-
in which case the default display format is just the stored typmod value
216-
enclosed in parentheses.
215+
in which case the default display format is just the stored typmod integer
216+
value enclosed in parentheses.
217217
</para>
218218

219219
<para>
@@ -433,7 +433,7 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
433433
<term><replaceable class="parameter">type_modifier_input_function</replaceable></term>
434434
<listitem>
435435
<para>
436-
The name of a function that converts numeric modifier(s) for the type
436+
The name of a function that converts an array of modifier(s) for the type
437437
into internal form.
438438
</para>
439439
</listitem>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy