Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
e35ee671
Commit
e35ee671
authored
16 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Clarify description of typmod input function, per Jeff Davis.
parent
ea7f9648
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/ref/create_type.sgml
+5
-5
5 additions, 5 deletions
doc/src/sgml/ref/create_type.sgml
with
5 additions
and
5 deletions
doc/src/sgml/ref/create_type.sgml
+
5
−
5
View file @
e35ee671
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_type.sgml,v 1.7
3
200
7/10
/2
9
1
7:29:59 momjian
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/create_type.sgml,v 1.7
4
200
8/05
/2
7
1
8:05:13 tgl
Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -196,7 +196,7 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
...
@@ -196,7 +196,7 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
attached to a type declaration, such as <literal>char(5)</> or
attached to a type declaration, such as <literal>char(5)</> or
<literal>numeric(30,2)</>. <productname>PostgreSQL</productname> allows
<literal>numeric(30,2)</>. <productname>PostgreSQL</productname> allows
user-defined types to take one or more simple constants or identifiers as
user-defined types to take one or more simple constants or identifiers as
modifiers
; h
owever, this information must be capable of being packed into a
modifiers
. H
owever, this information must be capable of being packed into a
single non-negative integer value for storage in the system catalogs. The
single non-negative integer value for storage in the system catalogs. The
<replaceable class="parameter">type_modifier_input_function</replaceable>
<replaceable class="parameter">type_modifier_input_function</replaceable>
is passed the declared modifier(s) in the form of a <type>cstring</>
is passed the declared modifier(s) in the form of a <type>cstring</>
...
@@ -212,8 +212,8 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
...
@@ -212,8 +212,8 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
function might return <literal>(30,2)</>.
function might return <literal>(30,2)</>.
It is allowed to omit the
It is allowed to omit the
<replaceable class="parameter">type_modifier_output_function</replaceable>,
<replaceable class="parameter">type_modifier_output_function</replaceable>,
in which case the default display format is just the stored typmod
value
in which case the default display format is just the stored typmod
integer
enclosed in parentheses.
value
enclosed in parentheses.
</para>
</para>
<para>
<para>
...
@@ -433,7 +433,7 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
...
@@ -433,7 +433,7 @@ CREATE TYPE <replaceable class="parameter">name</replaceable>
<term><replaceable class="parameter">type_modifier_input_function</replaceable></term>
<term><replaceable class="parameter">type_modifier_input_function</replaceable></term>
<listitem>
<listitem>
<para>
<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.
into internal form.
</para>
</para>
</listitem>
</listitem>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment