8000 doc: Various typo/grammar fixes · zyfran/postgres@3eb02dc · GitHub
[go: up one dir, main page]

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>,

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
@@ -2395,7 +2395,7 @@ more sample word(s) : more indexed word(s)
23952395
</programlisting>
23962396

23972397
where the colon (<symbol>:</symbol>) symbol acts as a delimiter between a
2398-
a phrase and its replacement.
2398+
phrase and its replacement.
23992399
</para>
24002400

24012401
<para>

doc/src/sgml/xml2.sgml

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

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)
0