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
83501ef4
Commit
83501ef4
authored
22 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Update info about relkind and pg_type entries for composite-types patch.
parent
6077db92
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/catalogs.sgml
+13
-9
13 additions, 9 deletions
doc/src/sgml/catalogs.sgml
with
13 additions
and
9 deletions
doc/src/sgml/catalogs.sgml
+
13
−
9
View file @
83501ef4
<!--
Documentation of the system catalogs, directed toward PostgreSQL developers
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.5
4
2002/08/2
4
15:0
0:4
5 tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.5
5
2002/08/2
8
15:0
2:5
5 tgl Exp $
-->
<chapter id="catalogs">
...
...
@@ -890,11 +890,12 @@
<title>pg_class</title>
<para>
<structname>pg_class</structname> catalogs tables and most
ly
<structname>pg_class</structname> catalogs tables and most
everything else that has columns or is otherwise similar to a
table. This includes indexes (but see also
<structname>pg_index</structname>), sequences, views, and some
kinds of special relation. Below, when we mean all of these
kinds of special relation; see <structfield>relkind</>.
. Below, when we mean all of these
kinds of objects we speak of <quote>relations</quote>. Not all
fields are meaningful for all relation types.
</para>
...
...
@@ -957,7 +958,7 @@
<entry>relfilenode</entry>
<entry><type>oid</type></entry>
<entry></entry>
<entry>Name of the on-disk file of this relation</entry>
<entry>Name of the on-disk file of this relation
; 0 if none
</entry>
</row>
<row>
...
...
@@ -1030,7 +1031,7 @@
<entry></entry>
<entry>
'r' = ordinary table, 'i' = index, 'S' = sequence, 'v' = view,
's' = special, 't' =
secondary
TOAST table
'c' = composite type,
's' = special, 't' = TOAST table
</entry>
</row>
...
...
@@ -3127,8 +3128,9 @@
<para>
This catalog stores information about data types. Scalar types
(<quote>base types</>) are created with <command>CREATE TYPE</command>.
A complex type is a
lso
created for each table in the database, to
A complex type is a
utomatically
created for each table in the database, to
represent the row structure of the table. It is also possible to create
complex types with <command>CREATE TYPE AS</command>, and
derived types with <command>CREATE DOMAIN</command>.
</para>
...
...
@@ -3242,9 +3244,11 @@
<entry>
If this is a complex type (see
<structfield>typtype</structfield>), then this field points to
the <structfield>pg_class</structfield> entry that defines the
corresponding table. A table could theoretically be used as a
composite data type, but this is only partly functional.
the <structname>pg_class</structname> entry that defines the
corresponding table. (For a free-standing composite type, the
<structname>pg_class</structname> entry doesn't really represent
a table, but it is needed anyway for the type's
<structname>pg_attribute</structname> entries to link to.)
Zero for non-complex types.
</entry>
</row>
...
...
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