Skip to content

Commit 0525876

Browse files
committed
doc: Various typo/grammar fixes
Errors detected using Topy (https://github.com/intgr/topy), all changes verified by hand and some manual tweaks added. Marti Raudsepp Individual changes backpatched, where applicable, as far as 9.0.
1 parent d5d7d07 commit 0525876

18 files changed

+23
-23
lines changed

doc/src/sgml/datatype.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2321,7 +2321,7 @@ January 8 04:05:06 1999 PST
23212321
<para>
23222322
Time zones, and time-zone conventions, are influenced by
23232323
political decisions, not just earth geometry. Time zones around the
2324-
world became somewhat standardized during the 1900's,
2324+
world became somewhat standardized during the 1900s,
23252325
but continue to be prone to arbitrary changes, particularly with
23262326
respect to daylight-savings rules.
23272327
<productname>PostgreSQL</productname> uses the widely-used

doc/src/sgml/func.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15608,7 +15608,7 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
1560815608
<parameter>schema</> is the schema name that the object belongs in, or
1560915609
<literal>NULL</> for object types that do not belong to schemas;
1561015610
<parameter>name</> is the name of the object, quoted if necessary, only
15611-
present if it can be used (alongside schema name, if pertinent) as an unique
15611+
present if it can be used (alongside schema name, if pertinent) as a unique
1561215612
identifier of the object, otherwise <literal>NULL</>;
1561315613
<parameter>identity</> is the complete object identity, with the precise format
1561415614
depending on object type, and each part within the format being
@@ -17583,7 +17583,7 @@ FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger();
1758317583
<entry><type>text</type></entry>
1758417584
<entry>
1758517585
Name of the object, if the combination of schema and name can be
17586-
used as an unique identifier for the object; otherwise <literal>NULL</>.
17586+
used as a unique identifier for the object; otherwise <literal>NULL</>.
1758717587
No quoting is applied, and name is never schema-qualified.
1758817588
</entry>
1758917589
</row>

doc/src/sgml/mvcc.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ UPDATE accounts SET balance = balance - 100.00 WHERE acctnum = 22222;
12581258
correctly. Advisory locks can be useful for locking strategies
12591259
that are an awkward fit for the MVCC model.
12601260
For example, a common use of advisory locks is to emulate pessimistic
1261-
locking strategies typical of so called <quote>flat file</> data
1261+
locking strategies typical of so-called <quote>flat file</> data
12621262
management systems.
12631263
While a flag stored in a table could be used for the same purpose,
12641264
advisory locks are faster, avoid table bloat, and are automatically

doc/src/sgml/pgbench.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ pgbench <optional> <replaceable>options</> </optional> <replaceable>dbname</>
762762

763763
<para>
764764
By default, or when <literal>uniform</> is specified, all values in the
765-
range are drawn with equal probability. Specifiying <literal>gaussian</>
765+
range are drawn with equal probability. Specifying <literal>gaussian</>
766766
or <literal>exponential</> options modifies this behavior; each
767767
requires a mandatory threshold which determines the precise shape of the
768768
distribution.
@@ -950,7 +950,7 @@ END;
950950
(useful when multiple scripts were specified with <option>-f</>),
951951
and <replaceable>time_epoch</>/<replaceable>time_us</> are a
952952
UNIX epoch format timestamp and an offset
953-
in microseconds (suitable for creating a ISO 8601
953+
in microseconds (suitable for creating an ISO 8601
954954
timestamp with fractional seconds) showing when
955955
the transaction completed.
956956
</para>

doc/src/sgml/pgcrypto.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ pgp_pub_encrypt_bytea(data bytea, key bytea [, options text ]) returns bytea
592592
</synopsis>
593593
<para>
594594
Encrypt <parameter>data</> with a public PGP key <parameter>key</>.
595-
Giving this function a secret key will produce a error.
595+
Giving this function a secret key will produce an error.
596596
</para>
597597
<para>
598598
The <parameter>options</> parameter can contain option settings,

doc/src/sgml/pltcl.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
Sometimes it is desirable to write Tcl functions that are not restricted
5252
to safe Tcl. For example, one might want a Tcl function that sends
5353
email. To handle these cases, there is a variant of <application>PL/Tcl</> called <literal>PL/TclU</>
54-
(for untrusted Tcl). This is the exact same language except that a full
54+
(for untrusted Tcl). This is exactly the same language except that a full
5555
Tcl interpreter is used. <emphasis>If <application>PL/TclU</> is used, it must be
5656
installed as an untrusted procedural language</emphasis> so that only
5757
database superusers can create functions in it. The writer of a <application>PL/TclU</>

doc/src/sgml/queries.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2098,7 +2098,7 @@ DELETE FROM parts
20982098
statements in <literal>WITH</>, the order in which the specified updates
20992099
actually happen is unpredictable. All the statements are executed with
21002100
the same <firstterm>snapshot</> (see <xref linkend="mvcc">), so they
2101-
cannot <quote>see</> each others' effects on the target tables. This
2101+
cannot <quote>see</> one another's effects on the target tables. This
21022102
alleviates the effects of the unpredictability of the actual order of row
21032103
updates, and means that <literal>RETURNING</> data is the only way to
21042104
communicate changes between different <literal>WITH</> sub-statements and

doc/src/sgml/ref/alter_tsdictionary.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ ALTER TEXT SEARCH DICTIONARY my_dict ( StopWords = newrussian );
126126
</programlisting>
127127

128128
<para>
129-
The following example command changes the language option to dutch,
129+
The following example command changes the language option to <literal>dutch</>,
130130
and removes the stopword option entirely.
131131
</para>
132132

doc/src/sgml/ref/comment.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ COMMENT ON SERVER myserver IS 'my foreign server';
288288
COMMENT ON TABLE my_schema.my_table IS 'Employee Information';
289289
COMMENT ON TABLESPACE my_tablespace IS 'Tablespace for indexes';
290290
COMMENT ON TEXT SEARCH CONFIGURATION my_config IS 'Special word filtering';
291-
COMMENT ON TEXT SEARCH DICTIONARY swedish IS 'Snowball stemmer for swedish language';
291+
COMMENT ON TEXT SEARCH DICTIONARY swedish IS 'Snowball stemmer for Swedish language';
292292
COMMENT ON TEXT SEARCH PARSER my_parser IS 'Splits text into words';
293293
COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'Snowball stemmer';
294294
COMMENT ON TRIGGER my_trigger ON my_table IS 'Used for RI';

doc/src/sgml/ref/select.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,7 @@ KEY SHARE
13121312
is also acquired by any <command>DELETE</> on a row, and also by an
13131313
<command>UPDATE</> that modifies the values on certain columns. Currently,
13141314
the set of columns considered for the <command>UPDATE</> case are those that
1315-
have an unique index on them that can be used in a foreign key (so partial
1315+
have a unique index on them that can be used in a foreign key (so partial
13161316
indexes and expressional indexes are not considered), but this may change
13171317
in the future.
13181318
Also, if an <command>UPDATE</command>, <command>DELETE</command>,

doc/src/sgml/release-7.4.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3797,7 +3797,7 @@ DROP SCHEMA information_schema CASCADE;
37973797
</para>
37983798
<para>
37993799
This enabled <command>GRANT</command> to give other users the
3800-
ability to grant privileges on a object.
3800+
ability to grant privileges on an object.
38013801
</para>
38023802
</listitem>
38033803
</itemizedlist>

doc/src/sgml/release-8.2.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5883,7 +5883,7 @@
58835883
<para>
58845884
The new syntax is <link linkend="SQL-CREATEINDEX"><command>CREATE
58855885
INDEX CONCURRENTLY</></link>. The default behavior is
5886-
still to block table modification while a index is being
5886+
still to block table modification while an index is being
58875887
created.
58885888
</para>
58895889
</listitem>

doc/src/sgml/release-9.4.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<listitem>
4747
<para>
4848
Add <link linkend="datatype-json"><type>jsonb</></link>, a more
49-
capable and efficient data type for for storing <acronym>JSON</> data
49+
capable and efficient data type for storing <acronym>JSON</> data
5050
</para>
5151
</listitem>
5252

@@ -1400,7 +1400,7 @@
14001400
<listitem>
14011401
<para>
14021402
Add <link linkend="datatype-json"><type>jsonb</></link>, a more
1403-
capable and efficient data type for for storing <acronym>JSON</> data
1403+
capable and efficient data type for storing <acronym>JSON</> data
14041404
(Oleg Bartunov, Teodor Sigaev, Alexander
14051405
Korotkov, Peter Geoghegan, Andrew Dunstan)
14061406
</para>

doc/src/sgml/release-old.sgml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4849,7 +4849,7 @@ New DECLARE and FETCH feature(Thomas)
48494849
libpq's internal structures now not exported(Tom)
48504850
Allow up to 8 key indexes(Bruce)
48514851
Remove ARCHIVE key word, that is no longer used(Thomas)
4852-
pg_dump -n flag to suppress quotes around indentifiers
4852+
pg_dump -n flag to suppress quotes around identifiers
48534853
disable system columns for views(Jan)
48544854
new INET and CIDR types for network addresses(TomH, Paul)
48554855
no more double quotes in psql output
@@ -5250,7 +5250,7 @@ Support SQL92 syntax for type coercion of literal strings
52505250
(e.g. "DATETIME 'now'")(Thomas)
52515251
Add conversions for int2, int4, and OID types to and from text(Thomas)
52525252
Use shared lock when building indexes(Vadim)
5253-
Free memory allocated for an user query inside transaction block after
5253+
Free memory allocated for a user query inside transaction block after
52545254
this query is done, was turned off in &lt;= 6.2.1(Vadim)
52555255
New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
52565256
New <productname>PostgreSQL</productname> Procedural Language (PL) backend interface(Jan)
@@ -6514,7 +6514,7 @@ Incompatible changes:
65146514
New tools:
65156515
* pgperl - a Perl (4.036) interface to Postgres95
65166516
* pg_dump - a utility for dumping out a postgres database into a
6517-
script file containing query commands. The script files are in a ASCII
6517+
script file containing query commands. The script files are in an ASCII
65186518
format and can be used to reconstruct the database, even on other
65196519
machines and other architectures. (Also good for converting
65206520
a Postgres 4.2 database to Postgres95 database.)

doc/src/sgml/stylesheet.dsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@
617617

618618
;; By default, the part and reference title pages get wrong page
619619
;; numbers: The first title page gets roman numerals carried over from
620-
;; preface/toc -- we want arabic numerals. We also need to make sure
620+
;; preface/toc -- we want Arabic numerals. We also need to make sure
621621
;; that page-number-restart is set of #f explicitly, because otherwise
622622
;; it will carry over from the previous component, which is not good.
623623
;;

doc/src/sgml/textsearch.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2401,7 +2401,7 @@ more sample word(s) : more indexed word(s)
24012401
</programlisting>
24022402

24032403
where the colon (<symbol>:</symbol>) symbol acts as a delimiter between a
2404-
a phrase and its replacement.
2404+
phrase and its replacement.
24052405
</para>
24062406

24072407
<para>

doc/src/sgml/xml2.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ AS t(article_id integer, author text, page_count integer, title text);
325325

326326
<para>
327327
The calling <command>SELECT</> statement doesn't necessarily have be
328-
be just <literal>SELECT *</> &mdash; it can reference the output
328+
just <literal>SELECT *</> &mdash; it can reference the output
329329
columns by name or join them to other tables. The function produces a
330330
virtual table with which you can perform any operation you wish (e.g.
331331
aggregation, joining, sorting etc). So we could also have:

doc/src/sgml/xoper.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ SELECT (a + b) AS c FROM test_complex;
189189

190190
<para>
191191
Unlike commutators, a pair of unary operators could validly be marked
192-
as each others' negators; that would mean (A x) equals NOT (B x)
192+
as each other's negators; that would mean (A x) equals NOT (B x)
193193
for all x, or the equivalent for right unary operators.
194194
</para>
195195

0 commit comments

Comments
 (0)