Skip to content

Commit 52ca2ab

Browse files
author
Thomas G. Lockhart
committed
Editing and markup cleanup.
1 parent 748e300 commit 52ca2ab

23 files changed

+1202
-906
lines changed

doc/src/sgml/ref/alter_table.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ The keyword COLUMN is noise and can be omitted.
182182
<Quote>[*]</Quote> following a name of a table indicates that statement
183183
should be run over that table and all tables below it in the
184184
inheritance hierarchy.
185-
The PostgreSQL User's Guide has further
185+
The <citetitle>PostgreSQL User's Guide</citetitle> has further
186186
information on inheritance.
187187

188188
<PARA>

doc/src/sgml/ref/create_index.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ CREATE [ UNIQUE ] INDEX <replaceable class="parameter">index_name</replaceable>
4141
<LISTITEM>
4242
<PARA>
4343
Causes the system to check for
44-
duplicate values when the index is created (if data
44+
duplicate values in the table when the index is created (if data
4545
already exist) and each time data is added. Attempts to
4646
insert or update non-duplicate data will generate an
4747
error.
@@ -76,7 +76,7 @@ CREATE [ UNIQUE ] INDEX <replaceable class="parameter">index_name</replaceable>
7676
<PARA>
7777
the name of the access method which is to be used for
7878
the index. The default access method is BTREE.
79-
Postgres provides three access methods for secondary indices:
79+
Postgres provides three access methods for secondary indexes:
8080
<variablelist>
8181
<varlistentry>
8282
<term>BTREE</term>
@@ -208,14 +208,14 @@ SELECT am.amname AS acc_name,
208208
Description
209209
</TITLE>
210210
<PARA>
211-
This command constructs an index
211+
<command>CREATE INDEX</command> constructs an index
212212
<replaceable class="parameter">index_name</replaceable>.
213213
on the specified
214214
<replaceable class="parameter">table</replaceable>.
215215

216216
<tip>
217217
<para>
218-
Indices are primarily used to enhance database performance.
218+
Indexes are primarily used to enhance database performance.
219219
But inappropriate use will result in slower performance.
220220
</tip>
221221

@@ -236,7 +236,7 @@ But inappropriate use will result in slower performance.
236236
on the result of a user-defined function
237237
<replaceable class="parameter">func_name</replaceable> applied
238238
to one or more attributes of a single class. These functional
239-
indices can be used to obtain fast access to data
239+
indexes can be used to obtain fast access to data
240240
based on operators that would normally require some
241241
transformation to apply them to the base data.
242242
</para>
@@ -250,7 +250,7 @@ But inappropriate use will result in slower performance.
250250
</TITLE>
251251
<PARA>
252252
Currently, only the BTREE access method supports multi-column
253-
indices. Up to 7 keys may be specified.
253+
indexes. Up to 7 keys may be specified.
254254
</PARA>
255255
<para>
256256
Use <command>DROP INDEX</command>

doc/src/sgml/ref/create_language.sgml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ CREATE [ TRUSTED ] PROCEDURAL LANGUAGE '<replaceable class="parameter">langname<
4040
<PARA>
4141
<function> TRUSTED</function> specifies that the call handler for
4242
the language is safe; that is, it offers an unprivileged user
43-
no functionality to get around access restrictions. If
43+
no functionality to bypass access restrictions. If
4444
this keyword is omitted when registering the language,
45-
only users with the PostgreSQL superuser privilege can use
45+
only users with the <productname>Postgres</productname>
46+
superuser privilege can use
4647
this language to create new functions
4748
(like the 'C' language).
4849
</PARA>
@@ -58,17 +59,17 @@ CREATE [ TRUSTED ] PROCEDURAL LANGUAGE '<replaceable class="parameter">langname<
5859
The name of the new procedural language.
5960
The language name is case insensitive. A procedural
6061
language cannot override one of the built-in languages of
61-
PostgreSQL.
62+
<productname>Postgres</productname>.
6263
</PARA>
6364
</LISTITEM>
6465
</VARLISTENTRY>
6566
<VARLISTENTRY>
6667
<TERM>
67-
<replaceable class="parameter">call_handler</replaceable>
68+
HANDLER <replaceable class="parameter">call_handler</replaceable>
6869
</TERM>
6970
<LISTITEM>
7071
<PARA>
71-
The argument for <function>HANDLER</function> is the name
72+
<replaceable class="parameter">call_handler</replaceable> is the name
7273
of a previously
7374
registered function that will be called to execute the PL
7475
procedures.
@@ -86,7 +87,7 @@ CREATE [ TRUSTED ] PROCEDURAL LANGUAGE '<replaceable class="parameter">langname<
8687
inserted in the <literal>LANCOMPILER</literal> attribute
8788
of the new
8889
<filename>pg_language</filename> entry. At present,
89-
PostgreSQL doesn't use
90+
<productname>Postgres</productname> does not use
9091
this attribute in any way.
9192
</PARA>
9293
</LISTITEM>
@@ -364,7 +365,8 @@ CREATE PROCEDURAL LANGUAGE 'plsample'
364365
SQL92
365366
</TITLE>
366367
<PARA>
367-
There is no <command>CREATE LANGUAGE</command> statement in SQL92.
368+
There is no <command>CREATE LANGUAGE</command> statement in
369+
<acronym>SQL92</acronym>.
368370
</PARA>
369371
</refsect2>
370372
</refsect1>

0 commit comments

Comments
 (0)