Skip to content

Commit 6427775

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 9807c82 commit 6427775

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
@@ -2284,7 +2284,7 @@ January 8 04:05:06 1999 PST
22842284
<para>
22852285
Time zones, and time-zone conventions, are influenced by
22862286
political decisions, not just earth geometry. Time zones around the
2287-
world became somewhat standardized during the 1900's,
2287+
world became somewhat standardized during the 1900s,
22882288
but continue to be prone to arbitrary changes, particularly with
22892289
respect to daylight-savings rules.
22902290
<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
@@ -650,7 +650,7 @@ END;
650650
(useful when multiple scripts were specified with <literal>-f</>),
651651
and <replaceable>time_epoch</>/<replaceable>time_us</> are a
652652
UNIX epoch format timestamp and an offset
653-
in microseconds (suitable for creating a ISO 8601
653+
in microseconds (suitable for creating an ISO 8601
654654
timestamp with fractional seconds) showing when
655655
the transaction completed.
656656
</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>

0 commit comments

Comments
 (0)