Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite35ee67

Browse files
committed
Clarify description of typmod input function, per Jeff Davis.
1 parentea7f964 commite35ee67

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 typmodvalue
216-
enclosed in parentheses.
215+
in which case the default display format is just the stored typmodinteger
216+
valueenclosed 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 convertsnumeric modifier(s) for the type
436+
The name of a function that convertsan array of modifier(s) for the type
437437
into internal form.
438438
</para>
439439
</listitem>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp