Skip to content

Commit 3eb02dc

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 0ad403c commit 3eb02dc

17 files changed

+20
-20
lines changed

doc/src/sgml/datatype.sgml

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14562,7 +14562,7 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
1456214562
<parameter>schema</> is the schema name that the object belongs in, or
1456314563
<literal>NULL</> for object types that do not belong to schemas;
1456414564
<parameter>name</> is the name of the object, quoted if necessary, only
14565-
present if it can be used (alongside schema name, if pertinent) as an unique
14565+
present if it can be used (alongside schema name, if pertinent) as a unique
1456614566
identifier of the object, otherwise <literal>NULL</>;
1456714567
<parameter>identity</> is the complete object identity, with the precise format
1456814568
depending on object type, and each part within the format being
@@ -16333,7 +16333,7 @@ FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger();
1633316333
<entry><type>text</type></entry>
1633416334
<entry>
1633516335
Name of the object, if the combination of schema and name can be
16336-
used as an unique identifier for the object; otherwise <literal>NULL</>.
16336+
used as a unique identifier for the object; otherwise <literal>NULL</>.
1633716337
No quoting is applied, and name is never schema-qualified.
1633816338
</entry>
1633916339
</row>

doc/src/sgml/mvcc.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ UPDATE accounts SET balance = balance - 100.00 WHERE acctnum = 22222;
12511251
correctly. Advisory locks can be useful for locking strategies
12521252
that are an awkward fit for the MVCC model.
12531253
For example, a common use of advisory locks is to emulate pessimistic
1254-
locking strategies typical of so called <quote>flat file</> data
1254+
locking strategies typical of so-called <quote>flat file</> data
12551255
management systems.
12561256
While a flag stored in a table could be used for the same purpose,
12571257
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
@@ -786,7 +786,7 @@ END;
786786
(useful when multiple scripts were specified with <option>-f</>),
787787
and <replaceable>time_epoch</>/<replaceable>time_us</> are a
788788
UNIX epoch format timestamp and an offset
789-
in microseconds (suitable for creating a ISO 8601
789+
in microseconds (suitable for creating an ISO 8601
790790
timestamp with fractional seconds) showing when
791791
the transaction completed.
792792
</para>

doc/src/sgml/pgcrypto.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ pgp_pub_encrypt_bytea(data bytea, key bytea [, options text ]) returns bytea
583583
</synopsis>
584584
<para>
585585
Encrypt <parameter>data</> with a public PGP key <parameter>key</>.
586-
Giving this function a secret key will produce a error.
586+
Giving this function a secret key will produce an error.
587587
</para>
588588
<para>
589589
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
@@ -2041,7 +2041,7 @@ DELETE FROM parts
20412041
statements in <literal>WITH</>, the order in which the specified updates
20422042
actually happen is unpredictable. All the statements are executed with
20432043
the same <firstterm>snapshot</> (see <xref linkend="mvcc">), so they
2044-
cannot <quote>see</> each others' effects on the target tables. This
2044+
cannot <quote>see</> one another's effects on the target tables. This
20452045
alleviates the effects of the unpredictability of the actual order of row
20462046
updates, and means that <literal>RETURNING</> data is the only way to
20472047
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
@@ -293,7 +293,7 @@ COMMENT ON SERVER myserver IS 'my foreign server';
293293
COMMENT ON TABLE my_schema.my_table IS 'Employee Information';
294294
COMMENT ON TABLESPACE my_tablespace IS 'Tablespace for indexes';
295295
COMMENT ON TEXT SEARCH CONFIGURATION my_config IS 'Special word filtering';
296-
COMMENT ON TEXT SEARCH DICTIONARY swedish IS 'Snowball stemmer for swedish language';
296+
COMMENT ON TEXT SEARCH DICTIONARY swedish IS 'Snowball stemmer for Swedish language';
297297
COMMENT ON TEXT SEARCH PARSER my_parser IS 'Splits text into words';
298298
COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'Snowball stemmer';
299299
COMMENT ON TRIGGER my_trigger ON my_table IS 'Used for RI';

doc/src/sgml/ref/select.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@ KEY SHARE
12411241
is also acquired by any <command>DELETE</> on a row, and also by an
12421242
<command>UPDATE</> that modifies the values on certain columns. Currently,
12431243
the set of columns considered for the <command>UPDATE</> case are those that
1244-
have an unique index on them that can be used in a foreign key (so partial
1244+
have a unique index on them that can be used in a foreign key (so partial
12451245
indexes and expressional indexes are not considered), but this may change
12461246
in the future.
12471247
Also, if an <command>UPDATE</command>, <command>DELETE</command>,

0 commit comments

Comments
 (0)