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
750d9171
Commit
750d9171
authored
20 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Add documentation for format_type(), which somehow escaped it before.
parent
a9fec25d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/func.sgml
+16
-1
16 additions, 1 deletion
doc/src/sgml/func.sgml
with
16 additions
and
1 deletion
doc/src/sgml/func.sgml
+
16
−
1
View file @
750d9171
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.23
6
2005/01/2
6
2
0:4
2:
1
9 tgl Exp $
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.23
7
2005/01/2
8
2
3:1
2:
5
9 tgl Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -8505,6 +8505,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
...
@@ -8505,6 +8505,10 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
this way — if the name can be recognized at all, it must be visible.
this way — if the name can be recognized at all, it must be visible.
</para>
</para>
<indexterm zone="functions-info">
<primary>format_type</primary>
</indexterm>
<indexterm zone="functions-info">
<indexterm zone="functions-info">
<primary>pg_get_viewdef</primary>
<primary>pg_get_viewdef</primary>
</indexterm>
</indexterm>
...
@@ -8554,6 +8558,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
...
@@ -8554,6 +8558,11 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
</thead>
</thead>
<tbody>
<tbody>
<row>
<entry><literal><function>format_type</function>(<parameter>type_oid</parameter>, <parameter>typemod</>)</literal></entry>
<entry><type>text</type></entry>
<entry>get SQL name of a data type</entry>
</row>
<row>
<row>
<entry><literal><function>pg_get_viewdef</function>(<parameter>view_name</parameter>)</literal></entry>
<entry><literal><function>pg_get_viewdef</function>(<parameter>view_name</parameter>)</literal></entry>
<entry><type>text</type></entry>
<entry><type>text</type></entry>
...
@@ -8643,6 +8652,12 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
...
@@ -8643,6 +8652,12 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
</tgroup>
</tgroup>
</table>
</table>
<para>
<function>format_type</function> returns the SQL name of a data type that
is identified by its type OID and possibly a type modifier. Pass NULL
for the type modifier if no specific modifier is known.
</para>
<para>
<para>
<function>pg_get_viewdef</function>,
<function>pg_get_viewdef</function>,
<function>pg_get_ruledef</function>,
<function>pg_get_ruledef</function>,
...
...
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