Call domains "domains", not "derived types".

This commit is contained in:
Peter Eisentraut 2003-11-02 12:53:57 +00:00
parent 831af83b91
commit 33ab0d9eee

View File

@ -1,6 +1,6 @@
<!-- <!--
Documentation of the system catalogs, directed toward PostgreSQL developers Documentation of the system catalogs, directed toward PostgreSQL developers
$Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.77 2003/11/01 01:56:28 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.78 2003/11/02 12:53:57 petere Exp $
--> -->
<chapter id="catalogs"> <chapter id="catalogs">
@ -3327,7 +3327,7 @@
A composite type is automatically created for each table in the database, to A composite type is automatically created for each table in the database, to
represent the row structure of the table. It is also possible to create represent the row structure of the table. It is also possible to create
composite types with <command>CREATE TYPE AS</command> and composite types with <command>CREATE TYPE AS</command> and
derived types with <command>CREATE DOMAIN</command>. domains with <command>CREATE DOMAIN</command>.
</para> </para>
<table> <table>
@ -3403,11 +3403,11 @@
<entry></entry> <entry></entry>
<entry> <entry>
<structfield>typtype</structfield> is <literal>b</literal> for <structfield>typtype</structfield> is <literal>b</literal> for
a base type, <literal>c</literal> for a composite type (i.e., a base type, <literal>c</literal> for a composite type (i.e., a
a table's row type), <literal>d</literal> for a derived type (i.e., table's row type), <literal>d</literal> for a domain, or
a domain), or <literal>p</literal> for a pseudo-type. See also <literal>p</literal> for a pseudo-type. See also
<structfield>typrelid</structfield> <structfield>typrelid</structfield> and
and <structfield>typbasetype</structfield>. <structfield>typbasetype</structfield>.
</entry> </entry>
</row> </row>
@ -3588,9 +3588,9 @@
<entry><type>oid</type></entry> <entry><type>oid</type></entry>
<entry><literal><link linkend="catalog-pg-type"><structname>pg_type</structname></link>.oid</literal></entry> <entry><literal><link linkend="catalog-pg-type"><structname>pg_type</structname></link>.oid</literal></entry>
<entry><para> <entry><para>
If this is a derived type (see <structfield>typtype</structfield>), If this is a domain (see <structfield>typtype</structfield>),
then <structfield>typbasetype</structfield> identifies then <structfield>typbasetype</structfield> identifies
the type that this one is based on. Zero if not a derived type. the type that this one is based on. Zero if not a domain.
</para></entry> </para></entry>
</row> </row>