|
1 | 1 | <!--
|
2 | 2 | Documentation of the system catalogs, directed toward PostgreSQL developers
|
3 |
| - $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.77 2003/11/01 01:56:28 petere Exp $ |
| 3 | + $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.78 2003/11/02 12:53:57 petere Exp $ |
4 | 4 | -->
|
5 | 5 |
|
6 | 6 | <chapter id="catalogs">
|
|
3327 | 3327 | A composite type is automatically created for each table in the database, to
|
3328 | 3328 | represent the row structure of the table. It is also possible to create
|
3329 | 3329 | composite types with <command>CREATE TYPE AS</command> and
|
3330 |
| - derived types with <command>CREATE DOMAIN</command>. |
| 3330 | + domains with <command>CREATE DOMAIN</command>. |
3331 | 3331 | </para>
|
3332 | 3332 |
|
3333 | 3333 | <table>
|
|
3403 | 3403 | <entry></entry>
|
3404 | 3404 | <entry>
|
3405 | 3405 | <structfield>typtype</structfield> is <literal>b</literal> for
|
3406 |
| - a base type, <literal>c</literal> for a composite type (i.e., |
3407 |
| - a table's row type), <literal>d</literal> for a derived type (i.e., |
3408 |
| - a domain), or <literal>p</literal> for a pseudo-type. See also |
3409 |
| - <structfield>typrelid</structfield> |
3410 |
| - and <structfield>typbasetype</structfield>. |
| 3406 | + a base type, <literal>c</literal> for a composite type (i.e., a |
| 3407 | + table's row type), <literal>d</literal> for a domain, or |
| 3408 | + <literal>p</literal> for a pseudo-type. See also |
| 3409 | + <structfield>typrelid</structfield> and |
| 3410 | + <structfield>typbasetype</structfield>. |
3411 | 3411 | </entry>
|
3412 | 3412 | </row>
|
3413 | 3413 |
|
|
3588 | 3588 | <entry><type>oid</type></entry>
|
3589 | 3589 | <entry><literal><link linkend="catalog-pg-type"><structname>pg_type</structname></link>.oid</literal></entry>
|
3590 | 3590 | <entry><para>
|
3591 |
| - If this is a derived type (see <structfield>typtype</structfield>), |
| 3591 | + If this is a domain (see <structfield>typtype</structfield>), |
3592 | 3592 | then <structfield>typbasetype</structfield> identifies
|
3593 |
| - the type that this one is based on. Zero if not a derived type. |
| 3593 | + the type that this one is based on. Zero if not a domain. |
3594 | 3594 | </para></entry>
|
3595 | 3595 | </row>
|
3596 | 3596 |
|
|
0 commit comments