Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4996eea

Browse files
committed
This patch includes more SGML markup fixes as well as a few minor
additions to the docs.Neil Conway
1 parentaca8647 commit4996eea

File tree

5 files changed

+262
-230
lines changed

5 files changed

+262
-230
lines changed

‎doc/src/sgml/ddl.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ddl.sgml,v 1.10 2002/11/15 03:11:15 momjian Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/ddl.sgml,v 1.11 2003/02/19 03:13:24 momjian Exp $ -->
22

33
<chapter id="ddl">
44
<title>Data Definition</title>
@@ -189,7 +189,7 @@ DROP TABLE products;
189189
individual table a row came from. The
190190
<structfield>tableoid</structfield> can be joined against the
191191
<structfield>oid</structfield> column of
192-
<classname>pg_class</classname> to obtain the table name.
192+
<structname>pg_class</structname> to obtain the table name.
193193
</para>
194194
</listitem>
195195
</varlistentry>
@@ -904,9 +904,9 @@ WHERE c.altitude &gt; 500;
904904
139798 | Madison | 845
905905
</programlisting>
906906

907-
(If you try to reproduce this example, you will probably get different
908-
numeric OIDs.) By doing a join with pg_class you can see the actual table
909-
names:
907+
(If you try to reproduce this example, you will probably get
908+
differentnumeric OIDs.) By doing a join with
909+
<structname>pg_class</> you can see the actual tablenames:
910910

911911
<programlisting>
912912
SELECT p.relname, c.name, c.altitude

‎doc/src/sgml/ref/create_table.sgml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.61 2003/01/1900:13:29 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_table.sgml,v 1.62 2003/02/1903:13:25 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -230,7 +230,10 @@ and <replaceable class="PARAMETER">table_constraint</replaceable> is:
230230
for large tables, since it will reduce OID consumption and
231231
thereby postpone wraparound of the 32-bit OID counter. Once the
232232
counter wraps around, uniqueness of OIDs can no longer be
233-
assumed, which considerably reduces their usefulness.
233+
assumed, which considerably reduces their usefulness. Specifying
234+
<literal>WITHOUT OIDS</literal> also reduces the space required
235+
to store the table on disk by 4 bytes per row of the table,
236+
thereby improving performance.
234237
</para>
235238
</listitem>
236239
</varlistentry>
@@ -881,8 +884,8 @@ CREATE ASSERTION <replaceable>name</replaceable> CHECK ( <replaceable>condition<
881884

882885
<!--
883886
<para>
884-
Domain constraints are defined by CREATE DOMAIN or ALTER DOMAIN
885-
statements:
887+
Domain constraints are defined by<command>CREATE
888+
DOMAIN</command> or <command>ALTER DOMAIN</command>statements:
886889
</para>
887890
<para>
888891
Domain constraint:

‎doc/src/sgml/ref/create_type.sgml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v 1.38 2003/01/1900:13:29 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v 1.39 2003/02/1903:13:25 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -218,7 +218,8 @@ CREATE TYPE
218218
<para>
219219
The first form of <command>CREATE TYPE</command> creates a new base type
220220
(scalar type). It requires the
221-
registration of two functions (using CREATE FUNCTION) before defining the
221+
registration of two functions (using <command>CREATE
222+
FUNCTION</command>) before defining the
222223
type. The representation of a new base type is determined by
223224
<replaceable class="parameter">input_function</replaceable>, which
224225
converts the type's external representation to an internal
@@ -400,8 +401,8 @@ CREATE TYPE
400401
<para>
401402
User-defined type names cannot begin with the underscore character
402403
(<quote><literal>_</literal></quote>) and can only be 62
403-
characters long (or in general <literal>NAMEDATALEN-2</>, rather than
404-
the <literal>NAMEDATALEN-1</> characters allowed for other names).
404+
characters long (or in general <symbol>NAMEDATALEN</symbol> - 2, rather than
405+
the <symbol>NAMEDATALEN</symbol> - 1 characters allowed for other names).
405406
Type names beginning with underscore are
406407
reserved for internally-created array type names.
407408
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp