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
83501ef4
Commit
83501ef4
authored
Aug 28, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update info about relkind and pg_type entries for composite-types patch.
parent
6077db92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
doc/src/sgml/catalogs.sgml
doc/src/sgml/catalogs.sgml
+13
-9
No files found.
doc/src/sgml/catalogs.sgml
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/24 15:00:4
5 tgl Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.5
5 2002/08/28 15:02: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>
...
...
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