summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-02-19 03:13:25 +0000
committerBruce Momjian <bruce@momjian.us>2003-02-19 03:13:25 +0000
commit4996eea81cd52833cb8413c5105aba6937971748 (patch)
treed323abdb53207523acf2bd9644d3f03b7f310d05 /doc/src/sgml/ref
parentaca86479fdc81190588ac0ab1f7802b9e2031a97 (diff)
This patch includes more SGML markup fixes as well as a few minor
additions to the docs. Neil Conway
Diffstat (limited to 'doc/src/sgml/ref')
-rw-r--r--doc/src/sgml/ref/create_table.sgml11
-rw-r--r--doc/src/sgml/ref/create_type.sgml9
2 files changed, 12 insertions, 8 deletions
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml
index 3439c731150..3c0a9fc3a8b 100644
--- a/doc/src/sgml/ref/create_table.sgml
+++ b/doc/src/sgml/ref/create_table.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.61 2003/01/19 00:13:29 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.62 2003/02/19 03:13:25 momjian Exp $
PostgreSQL documentation
-->
@@ -230,7 +230,10 @@ and <replaceable class="PARAMETER">table_constraint</replaceable> is:
for large tables, since it will reduce OID consumption and
thereby postpone wraparound of the 32-bit OID counter. Once the
counter wraps around, uniqueness of OIDs can no longer be
- assumed, which considerably reduces their usefulness.
+ assumed, which considerably reduces their usefulness. Specifying
+ <literal>WITHOUT OIDS</literal> also reduces the space required
+ to store the table on disk by 4 bytes per row of the table,
+ thereby improving performance.
</para>
</listitem>
</varlistentry>
@@ -881,8 +884,8 @@ CREATE ASSERTION <replaceable>name</replaceable> CHECK ( <replaceable>condition<
<!--
<para>
- Domain constraints are defined by CREATE DOMAIN or ALTER DOMAIN
- statements:
+ Domain constraints are defined by <command>CREATE
+ DOMAIN</command> or <command>ALTER DOMAIN</command> statements:
</para>
<para>
Domain constraint:
diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml
index 651409b2455..a8e8c592917 100644
--- a/doc/src/sgml/ref/create_type.sgml
+++ b/doc/src/sgml/ref/create_type.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v 1.38 2003/01/19 00:13:29 momjian Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v 1.39 2003/02/19 03:13:25 momjian Exp $
PostgreSQL documentation
-->
@@ -218,7 +218,8 @@ CREATE TYPE
<para>
The first form of <command>CREATE TYPE</command> creates a new base type
(scalar type). It requires the
- registration of two functions (using CREATE FUNCTION) before defining the
+ registration of two functions (using <command>CREATE
+ FUNCTION</command>) before defining the
type. The representation of a new base type is determined by
<replaceable class="parameter">input_function</replaceable>, which
converts the type's external representation to an internal
@@ -400,8 +401,8 @@ CREATE TYPE
<para>
User-defined type names cannot begin with the underscore character
(<quote><literal>_</literal></quote>) and can only be 62
- characters long (or in general <literal>NAMEDATALEN-2</>, rather than
- the <literal>NAMEDATALEN-1</> characters allowed for other names).
+ characters long (or in general <symbol>NAMEDATALEN</symbol> - 2, rather than
+ the <symbol>NAMEDATALEN</symbol> - 1 characters allowed for other names).
Type names beginning with underscore are
reserved for internally-created array type names.
</para>