Skip to content

Commit 9c4b7ed

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 f399852 commit 9c4b7ed

15 files changed

+17
-17
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2329,7 +2329,7 @@ January 8 04:05:06 1999 PST
23292329
<para>
23302330
Time zones, and time-zone conventions, are influenced by
23312331
political decisions, not just earth geometry. Time zones around the
2332-
world became somewhat standardized during the 1900's,
2332+
world became somewhat standardized during the 1900s,
23332333
but continue to be prone to arbitrary changes, particularly with
23342334
respect to daylight-savings rules.
23352335
<productname>PostgreSQL</productname> uses the widely-used

doc/src/sgml/mvcc.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,7 @@ UPDATE accounts SET balance = balance - 100.00 WHERE acctnum = 22222;
12241224
correctly. Advisory locks can be useful for locking strategies
12251225
that are an awkward fit for the MVCC model.
12261226
For example, a common use of advisory locks is to emulate pessimistic
1227-
locking strategies typical of so called <quote>flat file</> data
1227+
locking strategies typical of so-called <quote>flat file</> data
12281228
management systems.
12291229
While a flag stored in a table could be used for the same purpose,
12301230
advisory locks are faster, avoid table bloat, and are automatically

doc/src/sgml/pgbench.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ END;
719719
(useful when multiple scripts were specified with <option>-f</>),
720720
and <replaceable>time_epoch</>/<replaceable>time_us</> are a
721721
UNIX epoch format timestamp and an offset
722-
in microseconds (suitable for creating a ISO 8601
722+
in microseconds (suitable for creating an ISO 8601
723723
timestamp with fractional seconds) showing when
724724
the transaction completed.
725725
</para>

doc/src/sgml/pgcrypto.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ pgp_pub_encrypt_bytea(data bytea, key bytea [, options text ]) returns bytea
538538
</synopsis>
539539
<para>
540540
Encrypt <parameter>data</> with a public PGP key <parameter>key</>.
541-
Giving this function a secret key will produce a error.
541+
Giving this function a secret key will produce an error.
542542
</para>
543543
<para>
544544
The <parameter>options</> parameter can contain option settings,

doc/src/sgml/pltcl.sgml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1939,7 +1939,7 @@ DELETE FROM parts
19391939
statements in <literal>WITH</>, the order in which the specified updates
19401940
actually happen is unpredictable. All the statements are executed with
19411941
the same <firstterm>snapshot</> (see <xref linkend="mvcc">), so they
1942-
cannot <quote>see</> each others' effects on the target tables. This
1942+
cannot <quote>see</> one another's effects on the target tables. This
19431943
alleviates the effects of the unpredictability of the actual order of row
19441944
updates, and means that <literal>RETURNING</> data is the only way to
19451945
communicate changes between different <literal>WITH</> sub-statements and

doc/src/sgml/ref/alter_tsdictionary.sgml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ COMMENT ON SERVER myserver IS 'my foreign server';
290290
COMMENT ON TABLE my_schema.my_table IS 'Employee Information';
291291
COMMENT ON TABLESPACE my_tablespace IS 'Tablespace for indexes';
292292
COMMENT ON TEXT SEARCH CONFIGURATION my_config IS 'Special word filtering';
293-
COMMENT ON TEXT SEARCH DICTIONARY swedish IS 'Snowball stemmer for swedish language';
293+
COMMENT ON TEXT SEARCH DICTIONARY swedish IS 'Snowball stemmer for Swedish language';
294294
COMMENT ON TEXT SEARCH PARSER my_parser IS 'Splits text into words';
295295
COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'Snowball stemmer';
296296
COMMENT ON TRIGGER my_trigger ON my_table IS 'Used for RI';

doc/src/sgml/release-7.4.sgml

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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-old.sgml

Lines changed: 3 additions & 3 deletions
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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@
626626

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

doc/src/sgml/textsearch.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2423,7 +2423,7 @@ more sample word(s) : more indexed word(s)
24232423
</programlisting>
24242424

24252425
where the colon (<symbol>:</symbol>) symbol acts as a delimiter between a
2426-
a phrase and its replacement.
2426+
phrase and its replacement.
24272427
</para>
24282428

24292429
<para>

doc/src/sgml/xml2.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ AS t(article_id integer, author text, page_count integer, title text);
321321

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

doc/src/sgml/xoper.sgml

Lines changed: 1 addition & 1 deletion
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)