Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e35ee671
Commit
e35ee671
authored
May 27, 2008
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify description of typmod input function, per Jeff Davis.
parent
ea7f9648
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/src/sgml/ref/create_type.sgml
doc/src/sgml/ref/create_type.sgml
+5
-5
No files found.
doc/src/sgml/ref/create_type.sgml
View file @
e35ee671
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/create_type.sgml,v 1.7
3 2007/10/29 17:29:59 momjian
Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/create_type.sgml,v 1.7
4 2008/05/27 18:05:13 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
; 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
<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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment