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
e32014d8
Commit
e32014d8
authored
16 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Add a couple of cross-references to the docs about enum types, per a
recent gripe that the info is hard to find.
parent
382af3a9
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/datatype.sgml
+12
-1
12 additions, 1 deletion
doc/src/sgml/datatype.sgml
with
12 additions
and
1 deletion
doc/src/sgml/datatype.sgml
+
12
−
1
View file @
e32014d8
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.23
4
2008/1
1
/1
1
0
2:42:31
tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/datatype.sgml,v 1.23
5
2008/1
2
/1
9
0
1:34:19
tgl Exp $ -->
<chapter id="datatype">
<chapter id="datatype">
<title id="datatype-title">Data Types</title>
<title id="datatype-title">Data Types</title>
...
@@ -2742,6 +2742,10 @@ SELECT * FROM test1 WHERE a;
...
@@ -2742,6 +2742,10 @@ SELECT * FROM test1 WHERE a;
<secondary>enumerated (enum)</secondary>
<secondary>enumerated (enum)</secondary>
</indexterm>
</indexterm>
<indexterm zone="datatype-enum">
<primary>enumerated types</primary>
</indexterm>
<para>
<para>
Enumerated (enum) types are data types that
Enumerated (enum) types are data types that
are comprised of a static, predefined set of values with a
are comprised of a static, predefined set of values with a
...
@@ -2886,6 +2890,13 @@ SELECT person.name, holidays.num_weeks FROM person, holidays
...
@@ -2886,6 +2890,13 @@ SELECT person.name, holidays.num_weeks FROM person, holidays
Spaces in the labels are significant, too.
Spaces in the labels are significant, too.
</para>
</para>
<para>
The translations from internal enum values to textual labels are
kept in the system catalog
<link linkend="catalog-pg-enum"><structname>pg_enum</structname></link>.
Querying this catalog directly can be useful.
</para>
</sect2>
</sect2>
</sect1>
</sect1>
...
...
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