Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b32685a

Browse files
committed
Add proofreader's changes to docs.
Fix misspelling of disbursion to dispersion.
1 parent 05e3d0e commit b32685a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+259
-259
lines changed

HISTORY

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,7 @@ enclose unused functions in #ifdef NOT_USED(Bruce)
16521652
Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
16531653
Changes for Digital Unix
16541654
Portability fix for pg_dumpall(Bruce)
1655-
Rename pg_attribute.attnvals to attdisbursion(Bruce)
1655+
Rename pg_attribute.attnvals to attdispersion(Bruce)
16561656
"intro/unix" manual page now "pgintro"(Bruce)
16571657
"built-in" manual page now "pgbuiltin"(Bruce)
16581658
"drop" manual page now "drop_table"(Bruce)

doc/TODO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ MISC
250250
* allow configuration of maximum number of open files
251251
* Remove pg_listener index
252252
* Remove ANALYZE from VACUUM so it can be run separately without locks
253-
* Gather more accurate disbursion statistics using indexes
253+
* Gather more accurate dispersion statistics using indexes
254254
* Improve statistics storage in pg_class [performance]
255255
* Improve VACUUM speed with indexes [vacuum]
256256
* -BSD/OS does not support locale because there is no LC_MESSAGES (Bruce)

doc/TODO.detail/optimizer

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ cat << \SHAR_EOF > 'selfuncs.c.diff'
518518
{
519519
float32data nvals;
520520

521-
nvals = getattdisbursion(relid, (int) attno);
521+
nvals = getattdispersion(relid, (int) attno);
522522
! if (nvals == 0)
523523
*result = 1.0 / 3.0;
524524
else
@@ -534,7 +534,7 @@ cat << \SHAR_EOF > 'selfuncs.c.diff'
534534
{
535535
float32data nvals;
536536

537-
nvals = getattdisbursion(relid, (int) attno);
537+
nvals = getattdispersion(relid, (int) attno);
538538
! if (nvals == 0) {
539539
*result = 1.0 / 3.0;
540540
+ }
@@ -1059,7 +1059,7 @@ From [email protected] Thu Jan 20 18:45:32 2000
10591059
Received: from renoir.op.net ([email protected] [207.29.195.4])
10601060
by candle.pha.pa.us (8.9.0/8.9.0) with ESMTP id TAA00672
10611061
for <[email protected]>; Thu, 20 Jan 2000 19:45:30 -0500 (EST)
1062-
Received: from hub.org (hub.org [216.126.84.1]) by renoir.op.net (o1/$Revision: 1.14 $) with ESMTP id TAA01989 for <[email protected]>; Thu, 20 Jan 2000 19:39:15 -0500 (EST)
1062+
Received: from hub.org (hub.org [216.126.84.1]) by renoir.op.net (o1/$Revision: 1.15 $) with ESMTP id TAA01989 for <[email protected]>; Thu, 20 Jan 2000 19:39:15 -0500 (EST)
10631063
Received: from localhost (majordom@localhost)
10641064
by hub.org (8.9.3/8.9.3) with SMTP id TAA00957;
10651065
Thu, 20 Jan 2000 19:35:19 -0500 (EST)

doc/src/sgml/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
#
1010
# IDENTIFICATION
11-
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.21 2000/10/05 16:57:23 petere Exp $
11+
# $Header: /cvsroot/pgsql/doc/src/sgml/Makefile,v 1.22 2000/10/05 19:48:16 momjian Exp $
1212
#
1313
#----------------------------------------------------------------------------
1414

@@ -79,7 +79,7 @@ APPLICATIONS= createdb.sgml createlang.sgml createuser.sgml \
7979
pgaccess-ref.sgml \
8080
pgadmin-ref.sgml \
8181
pg-config-ref.sgml \
82-
pgctl-ref.sgml \
82+
pg_ctl-ref.sgml \
8383
pgtclsh.sgml \
8484
pgtksh.sgml \
8585
postgres-ref.sgml \

doc/src/sgml/ref/allfiles.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/allfiles.sgml,v 1.21 2000/08/26 13:08:15 petere Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/allfiles.sgml,v 1.22 2000/10/05 19:48:17 momjian Exp $
33
Postgres documentation
44
Complete list of usable sgml source files in this directory.
55
-->
@@ -121,7 +121,7 @@ Complete list of usable sgml source files in this directory.
121121
<!entity pgAccess system "pgaccess-ref.sgml">
122122
<!entity pgAdmin system "pgadmin-ref.sgml">
123123
<!entity pgConfig system "pg-config-ref.sgml">
124-
<!entity pgCtl system "pgctl-ref.sgml">
124+
<!entity pgCtl system "pg_ctl-ref.sgml">
125125
<!entity pgDump system "pg_dump.sgml">
126126
<!entity pgDumpall system "pg_dumpall.sgml">
127127
<!entity pgPasswd system "pg_passwd.sgml">

doc/src/sgml/ref/alter_table.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.14 2000/07/22 02:39:10 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/alter_table.sgml,v 1.15 2000/10/05 19:48:17 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -273,7 +273,7 @@ ALTER TABLE <replaceable class="PARAMETER">table</replaceable> DROP CONSTRAINT <
273273
<para>
274274
Removes a table constraint (such as a check constraint,
275275
unique constraint, or foreign key constraint). To
276-
remove a unique constraint, drop a unique index,
276+
remove a unique constraint, drop a unique index.
277277
To remove other kinds of constraints you need to recreate
278278
and reload the table, using other parameters to the
279279
<xref linkend="SQL-CREATETABLE" endterm="SQL-CREATETABLE-title">

doc/src/sgml/ref/copy.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.17 2000/07/22 02:39:10 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.18 2000/10/05 19:48:17 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -210,7 +210,7 @@ ERROR: <replaceable>reason</replaceable>
210210
You must have <firstterm>select access</firstterm> on any table
211211
whose values are read by
212212
<command>COPY</command>, and either
213-
<firstterm>insert or update access</firstterm> to a
213+
<firstterm>insert</firstterm> or <firstterm>update access</firstterm> to a
214214
table into which values are being inserted by <command>COPY</command>.
215215
The backend also needs appropriate Unix permissions for any file read
216216
or written by <command>COPY</command>.
@@ -293,7 +293,7 @@ ERROR: <replaceable>reason</replaceable>
293293
<para>
294294
The actual format for each instance is
295295
<programlisting>
296-
&lt;attr1&gt;&lt;<replaceable class=parameter>separator</replaceable>&gt;&lt;attr2&gt;&lt;<replaceable class=parameter>separator</replaceable>&gt;...&lt;<replaceable class=parameter>separator</replaceable>&gt;&lt;attr<replaceable class="parameter">n</replaceable>&gt;&lt;newline&gt;
296+
&lt;attr1&gt;&lt;<replaceable class=parameter>separator</replaceable>&gt;&lt;attr2&gt;&lt;<replaceable class=parameter>separator</replaceable>&gt;...&lt;<replaceable class=parameter>separator</replaceable>&gt;&lt;attr<replaceable class="parameter">n</replaceable>&gt;&lt;newline&gt;.
297297
</programlisting>
298298
The oid is placed on the beginning of the line
299299
if WITH OIDS is specified.
@@ -331,7 +331,7 @@ ERROR: <replaceable>reason</replaceable>
331331
In the case of <command>COPY BINARY</command>, the first four
332332
bytes in the file will be the number of instances in the file. If
333333
this number is zero, the <command>COPY BINARY</command> command
334-
will read until end of file is encountered. Otherwise, it will
334+
will read until end-of-file is encountered. Otherwise, it will
335335
stop reading when this number of instances has been read.
336336
Remaining data in the file will be ignored.
337337
</para>
@@ -414,7 +414,7 @@ The following example copies a table to standard output,
414414
COPY country TO <filename>stdout</filename> USING DELIMITERS '|';
415415
</programlisting>
416416
<para>
417-
To copy data from a Unix file into a table "country":
417+
To copy data from a Unix file into a table country:
418418
</para>
419419
<programlisting>
420420
COPY country FROM '/usr1/proj/bray/sql/country_data';
@@ -434,7 +434,7 @@ has the termination sequence on the last line):
434434
\.
435435
</programlisting>
436436
<para>
437-
The same data, output in binary format on a Linux/i586 machine.
437+
The following is the same data, output in binary format on a Linux/i586 machine.
438438
The data is shown after filtering through
439439
the Unix utility <command>od -c</command>. The table has
440440
three fields; the first is <classname>char(2)</classname>

doc/src/sgml/ref/create_aggregate.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_aggregate.sgml,v 1.11 2000/09/12 20:52:07 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_aggregate.sgml,v 1.12 2000/10/05 19:48:17 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -162,7 +162,7 @@ CREATE
162162
for base types such as <function>min(int4)</function>
163163
and <function>avg(float8)</function> are already provided in the base
164164
distribution. If one defines new types or needs an aggregate function not
165-
already provided then <command>CREATE AGGREGATE</command>
165+
already provided, then <command>CREATE AGGREGATE</command>
166166
can be used to provide the desired features.
167167
</para>
168168
<para>

doc/src/sgml/ref/create_database.sgml

Lines changed: 4 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_database.sgml,v 1.14 2000/05/02 20:02:03 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_database.sgml,v 1.15 2000/10/05 19:48:17 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -115,7 +115,7 @@ CREATE DATABASE <replaceable class="PARAMETER">name</replaceable> [ WITH LOCATIO
115115
<listitem>
116116
<para>
117117
The expansion of the specified <replaceable class="parameter">dbpath</replaceable>
118-
(see below how) failed. Check the path you entered or make sure that the
118+
(see below) failed. Check the path you entered or make sure that the
119119
environment variable you are referencing does exist.
120120
</para>
121121
</listitem>
@@ -138,7 +138,7 @@ CREATE DATABASE <replaceable class="PARAMETER">name</replaceable> [ WITH LOCATIO
138138
<para>
139139
These are most likely related to insufficient permissions on the data
140140
directory, a full disk, or other file system problems. The user under
141-
which the database server is running, must have access to the location.
141+
which the database server is running must have access to the location.
142142
</para>
143143
</listitem>
144144
</varlistentry>
@@ -177,7 +177,7 @@ CREATE DATABASE <replaceable class="PARAMETER">name</replaceable> [ WITH LOCATIO
177177
If the server is compiled with <literal>ALLOW_ABSOLUTE_DBPATHS</literal>
178178
(not so by default), absolute path names, as identified by
179179
a leading slash
180-
(e.g. '<filename>/usr/local/pgsql/data</filename>'),
180+
(e.g., '<filename>/usr/local/pgsql/data</filename>'),
181181
are allowed as well.
182182
</para>
183183

doc/src/sgml/ref/create_function.sgml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.17 2000/08/25 15:17:50 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.18 2000/10/05 19:48:17 momjian Exp $
33
Postgres documentation
44
-->
55

@@ -60,7 +60,7 @@ CREATE FUNCTION <replaceable class="parameter">name</replaceable> ( [ <replaceab
6060
The data type(s) of the function's arguments, if any.
6161
The input types may be base or complex types, or
6262
<firstterm>opaque</firstterm>.
63-
<literal>opaque</literal> indicates that the function
63+
<literal>Opaque</literal> indicates that the function
6464
accepts arguments of a non-SQL type such as <type>char *</type>.
6565
</para>
6666
</listitem>
@@ -71,7 +71,7 @@ CREATE FUNCTION <replaceable class="parameter">name</replaceable> ( [ <replaceab
7171
<para>
7272
The return data type.
7373
The output type may be specified as a base type, complex type,
74-
<option>setof <replaceable class="parameter">type</replaceable></option>,
74+
<option>setof type</option>,
7575
or <option>opaque</option>.
7676
The <option>setof</option>
7777
modifier indicates that the function will return a set of items,
@@ -103,7 +103,7 @@ CREATE FUNCTION <replaceable class="parameter">name</replaceable> ( [ <replaceab
103103
<listitem>
104104
<para>
105105
This form of the <command>AS</command> clause is used for
106-
dynamically-linked, C language functions when the function name in
106+
dynamically linked, C language functions when the function name in
107107
the C language source code is not the same as the name of the SQL
108108
function. The string <replaceable
109109
class="parameter">obj_file</replaceable> is the name of the file
@@ -118,7 +118,7 @@ CREATE FUNCTION <replaceable class="parameter">name</replaceable> ( [ <replaceab
118118
<term><replaceable class="parameter">langname</replaceable></term>
119119
<listitem>
120120
<para>
121-
may be '<literal>sql</literal>',
121+
May be '<literal>sql</literal>',
122122
'<literal>C</literal>', '<literal>newC</literal>',
123123
'<literal>internal</literal>', '<literal>newinternal</literal>',
124124
or '<replaceable class="parameter">plname</replaceable>',
@@ -189,7 +189,7 @@ CREATE
189189
<term>iscachable</term>
190190
<listitem>
191191
<para>
192-
<option>iscachable</option> indicates that the function always
192+
<option>Iscachable</option> indicates that the function always
193193
returns the same result when given the same argument values (i.e.,
194194
it does not do database lookups or otherwise use information not
195195
directly present in its parameter list). The optimizer uses
@@ -243,7 +243,7 @@ CREATE
243243
<para>
244244
The full <acronym>SQL92</acronym> type syntax is allowed for
245245
input arguments and return value. However, some details of the
246-
type specification (e.g. the precision field for
246+
type specification (e.g., the precision field for
247247
<type>numeric</type> types) are the responsibility of the
248248
underlying function implementation and are silently swallowed
249249
(i.e., not recognized or
@@ -263,7 +263,7 @@ CREATE
263263
errors at link time. To get around that, give them different C names
264264
(for example, use the argument types as part of the C names), then
265265
specify those names in the AS clause of <command>CREATE FUNCTION</command>.
266-
If the AS clause is left empty then <command>CREATE FUNCTION</command>
266+
If the AS clause is left empty, then <command>CREATE FUNCTION</command>
267267
assumes the C name of the function is the same as the SQL name.
268268
</para>
269269

@@ -322,7 +322,7 @@ CREATE TABLE product (
322322

323323
<para>
324324
This example creates a function that does type conversion between the
325-
user defined type complex, and the internal type point. The
325+
user-defined type complex, and the internal type point. The
326326
function is implemented by a dynamically loaded object that was
327327
compiled from C source. For <productname>Postgres</productname> to
328328
find a type conversion function automatically, the sql function has

0 commit comments

Comments
 (0)