]> granicus.if.org Git - postgresql/commitdiff
doc: Various typo/grammar fixes
authorKevin Grittner <kgrittn@postgresql.org>
Sat, 30 Aug 2014 16:01:47 +0000 (11:01 -0500)
committerKevin Grittner <kgrittn@postgresql.org>
Sat, 30 Aug 2014 16:01:47 +0000 (11:01 -0500)
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.

18 files changed:
doc/src/sgml/datatype.sgml
doc/src/sgml/func.sgml
doc/src/sgml/mvcc.sgml
doc/src/sgml/pgbench.sgml
doc/src/sgml/pgcrypto.sgml
doc/src/sgml/pltcl.sgml
doc/src/sgml/queries.sgml
doc/src/sgml/ref/alter_tsdictionary.sgml
doc/src/sgml/ref/comment.sgml
doc/src/sgml/ref/select.sgml
doc/src/sgml/release-7.4.sgml
doc/src/sgml/release-8.2.sgml
doc/src/sgml/release-9.4.sgml
doc/src/sgml/release-old.sgml
doc/src/sgml/stylesheet.dsl
doc/src/sgml/textsearch.sgml
doc/src/sgml/xml2.sgml
doc/src/sgml/xoper.sgml

index 5be6de79412ca80b20a1cbae37878f3a2e2d2b9b..3e83dbbe4c0aa64f1e9b4a6a222f65f3bc7af5bc 100644 (file)
@@ -2321,7 +2321,7 @@ January 8 04:05:06 1999 PST
    <para>
     Time zones, and time-zone conventions, are influenced by
     political decisions, not just earth geometry. Time zones around the
-    world became somewhat standardized during the 1900's,
+    world became somewhat standardized during the 1900s,
     but continue to be prone to arbitrary changes, particularly with
     respect to daylight-savings rules.
     <productname>PostgreSQL</productname> uses the widely-used
index 1cc80a540acc5d02520672ac53a9b978907ea102..dafc9e3d92fd333b4c1527999d7bf0989a62b876 100644 (file)
@@ -15606,7 +15606,7 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
    <parameter>schema</> is the schema name that the object belongs in, or
    <literal>NULL</> for object types that do not belong to schemas;
    <parameter>name</> is the name of the object, quoted if necessary, only
-   present if it can be used (alongside schema name, if pertinent) as an unique
+   present if it can be used (alongside schema name, if pertinent) as a unique
    identifier of the object, otherwise <literal>NULL</>;
    <parameter>identity</> is the complete object identity, with the precise format
    depending on object type, and each part within the format being
@@ -17581,7 +17581,7 @@ FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger();
         <entry><type>text</type></entry>
         <entry>
          Name of the object, if the combination of schema and name can be
-         used as an unique identifier for the object; otherwise <literal>NULL</>.
+         used as a unique identifier for the object; otherwise <literal>NULL</>.
          No quoting is applied, and name is never schema-qualified.
         </entry>
        </row>
index 12b7814bfd9871599d9be6878ec0139076ac3075..3fbe0c9b68bcb4f2049a4eb250450c93fe65317a 100644 (file)
@@ -1254,7 +1254,7 @@ UPDATE accounts SET balance = balance - 100.00 WHERE acctnum = 22222;
      correctly.  Advisory locks can be useful for locking strategies
      that are an awkward fit for the MVCC model.
      For example, a common use of advisory locks is to emulate pessimistic
-     locking strategies typical of so called <quote>flat file</> data
+     locking strategies typical of so-called <quote>flat file</> data
      management systems.
      While a flag stored in a table could be used for the same purpose,
      advisory locks are faster, avoid table bloat, and are automatically
index f264c245ec0f1e301b17b0656f7ca8560d9c7ffd..408e7fb194145a65f9e6ce9546453035bc3f1577 100644 (file)
@@ -896,7 +896,7 @@ END;
    (useful when multiple scripts were specified with <option>-f</>),
    and <replaceable>time_epoch</>/<replaceable>time_us</> are a
    UNIX epoch format timestamp and an offset
-   in microseconds (suitable for creating a ISO 8601
+   in microseconds (suitable for creating an ISO 8601
    timestamp with fractional seconds) showing when
    the transaction completed.
   </para>
index f93e7f9717bcb209eb7aebfb2d9e8ca79504c30d..a1797f8681f93312c17ef9a20ab310b533000f1c 100644 (file)
@@ -592,7 +592,7 @@ pgp_pub_encrypt_bytea(data bytea, key bytea [, options text ]) returns bytea
 </synopsis>
    <para>
     Encrypt <parameter>data</> with a public PGP key <parameter>key</>.
-    Giving this function a secret key will produce a error.
+    Giving this function a secret key will produce an error.
    </para>
    <para>
     The <parameter>options</> parameter can contain option settings,
index e47ad96de177802a60528bbe711e346078afbf5a..d2175d552eb3f94665e4bfa6306cb3ba0cfeee5f 100644 (file)
@@ -51,7 +51,7 @@
     Sometimes it is desirable to write Tcl functions that are not restricted
     to safe Tcl.  For example, one might want a Tcl function that sends
     email.  To handle these cases, there is a variant of <application>PL/Tcl</> called <literal>PL/TclU</>
-    (for untrusted Tcl).  This is the exact same language except that a full
+    (for untrusted Tcl).  This is exactly the same language except that a full
     Tcl interpreter is used.  <emphasis>If <application>PL/TclU</> is used, it must be
     installed as an untrusted procedural language</emphasis> so that only
     database superusers can create functions in it.  The writer of a <application>PL/TclU</>
index c5e8aefabd583b18ce28fb38c2e82116cb140743..9bf3136f4b3129958b1d08bdd6be3b48d67ed157 100644 (file)
@@ -2098,7 +2098,7 @@ DELETE FROM parts
     statements in <literal>WITH</>, the order in which the specified updates
     actually happen is unpredictable.  All the statements are executed with
     the same <firstterm>snapshot</> (see <xref linkend="mvcc">), so they
-    cannot <quote>see</> each others' effects on the target tables.  This
+    cannot <quote>see</> one another's effects on the target tables.  This
     alleviates the effects of the unpredictability of the actual order of row
     updates, and means that <literal>RETURNING</> data is the only way to
     communicate changes between different <literal>WITH</> sub-statements and
index 590c4fc6e1cf826abb38aefe4d92dd36852cd110..368f8ee1352b27eb6e56cc991c3f2f4d05a382dc 100644 (file)
@@ -126,7 +126,7 @@ ALTER TEXT SEARCH DICTIONARY my_dict ( StopWords = newrussian );
 </programlisting>
 
   <para>
-   The following example command changes the language option to dutch,
+   The following example command changes the language option to <literal>dutch</>,
    and removes the stopword option entirely.
   </para>
 
index 53eadcdcc7635db2bc4cf455bb82b526157d457c..36a7312056b67bb321942be4d066b3006d966f66 100644 (file)
@@ -288,7 +288,7 @@ COMMENT ON SERVER myserver IS 'my foreign server';
 COMMENT ON TABLE my_schema.my_table IS 'Employee Information';
 COMMENT ON TABLESPACE my_tablespace IS 'Tablespace for indexes';
 COMMENT ON TEXT SEARCH CONFIGURATION my_config IS 'Special word filtering';
-COMMENT ON TEXT SEARCH DICTIONARY swedish IS 'Snowball stemmer for swedish language';
+COMMENT ON TEXT SEARCH DICTIONARY swedish IS 'Snowball stemmer for Swedish language';
 COMMENT ON TEXT SEARCH PARSER my_parser IS 'Splits text into words';
 COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'Snowball stemmer';
 COMMENT ON TRIGGER my_trigger ON my_table IS 'Used for RI';
index 231dc6ad8a3db3dddf591cb4b5f335485b7bba92..b69b63494b8afcc5385cbf0d049a7e0073076650 100644 (file)
@@ -1312,7 +1312,7 @@ KEY SHARE
     is also acquired by any <command>DELETE</> on a row, and also by an
     <command>UPDATE</> that modifies the values on certain columns.  Currently,
     the set of columns considered for the <command>UPDATE</> case are those that
-    have an unique index on them that can be used in a foreign key (so partial
+    have a unique index on them that can be used in a foreign key (so partial
     indexes and expressional indexes are not considered), but this may change
     in the future.
     Also, if an <command>UPDATE</command>, <command>DELETE</command>,
index 2ad8b5fd42c9475fea62d2276b37398c75b15c8f..5a4c52d4c2d72a6c81d8549053072d1042e174f6 100644 (file)
@@ -3797,7 +3797,7 @@ DROP SCHEMA information_schema CASCADE;
     </para>
     <para>
      This enabled <command>GRANT</command> to give other users the
-     ability to grant privileges on a object.
+     ability to grant privileges on an object.
     </para>
    </listitem>
   </itemizedlist>
index d1881fdf946ebef6ddcd226b3b9c1ea22d82a4bf..7f6a74bac9fd80d531ea5ad41b71d3fd2eaf7172 100644 (file)
       <para>
        The new syntax is <link linkend="SQL-CREATEINDEX"><command>CREATE
        INDEX CONCURRENTLY</></link>.  The default behavior is
-       still to block table modification while a index is being
+       still to block table modification while an index is being
        created.
       </para>
      </listitem>
index aba8092c5bcdc65201e08c468cbbac9e98be941a..26abce12587c1ee88277691b87c04fd71986b87b 100644 (file)
@@ -46,7 +46,7 @@
      <listitem>
       <para>
        Add <link linkend="datatype-json"><type>jsonb</></link>, a more
-       capable and efficient data type for for storing <acronym>JSON</> data
+       capable and efficient data type for storing <acronym>JSON</> data
       </para>
      </listitem>
 
        <listitem>
         <para>
          Add <link linkend="datatype-json"><type>jsonb</></link>, a more
-         capable and efficient data type for for storing <acronym>JSON</> data
+         capable and efficient data type for storing <acronym>JSON</> data
          (Oleg Bartunov, Teodor Sigaev, Alexander
          Korotkov, Peter Geoghegan, Andrew Dunstan)
         </para>
index 1c42f1ba7d908912ba5c0fe6893d9e60484bfc94..ec8e43f6eaeba3b263054c8ea2e2cfba7fe02128 100644 (file)
@@ -4849,7 +4849,7 @@ New DECLARE and FETCH feature(Thomas)
 libpq's internal structures now not exported(Tom)
 Allow up to 8 key indexes(Bruce)
 Remove ARCHIVE key word, that is no longer used(Thomas)
-pg_dump -n flag to suppress quotes around indentifiers
+pg_dump -n flag to suppress quotes around identifiers
 disable system columns for views(Jan)
 new INET and CIDR types for network addresses(TomH, Paul)
 no more double quotes in psql output
@@ -5250,7 +5250,7 @@ Support SQL92 syntax for type coercion of literal strings
        (e.g. "DATETIME 'now'")(Thomas)
 Add conversions for int2, int4, and OID types to and from text(Thomas)
 Use shared lock when building indexes(Vadim)
-Free memory allocated for an user query inside transaction block after
+Free memory allocated for a user query inside transaction block after
        this query is done, was turned off in &lt;= 6.2.1(Vadim)
 New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
 New <productname>PostgreSQL</productname> Procedural Language (PL) backend interface(Jan)
@@ -6514,7 +6514,7 @@ Incompatible changes:
 New tools:
  * pgperl - a Perl (4.036) interface to Postgres95
  * pg_dump - a utility for dumping out a postgres database into a
-        script file containing query commands. The script files are in a ASCII
+        script file containing query commands. The script files are in an ASCII
         format and can be used to reconstruct the database, even on other
         machines and other architectures. (Also good for converting
         a Postgres 4.2 database to Postgres95 database.)
index b4c8f1fd5af9f9a74bb97f221d50f440861522b5..56c54f406804c19430755dfa1b4397b660c7b187 100644 (file)
 
 ;; By default, the part and reference title pages get wrong page
 ;; numbers: The first title page gets roman numerals carried over from
-;; preface/toc -- we want arabic numerals.  We also need to make sure
+;; preface/toc -- we want Arabic numerals.  We also need to make sure
 ;; that page-number-restart is set of #f explicitly, because otherwise
 ;; it will carry over from the previous component, which is not good.
 ;;
index 891e7fabacaab510a9205a606a954b418bb42080..0bc7e7b41c7769966bd82068f297b41f00de8dfc 100644 (file)
@@ -2401,7 +2401,7 @@ more sample word(s) : more indexed word(s)
 </programlisting>
 
     where  the colon (<symbol>:</symbol>) symbol acts as a delimiter between a
-    phrase and its replacement.
+    phrase and its replacement.
    </para>
 
    <para>
index 47ea7166fd1b4ecbdbec88dfe21bec7acd3649f3..c4b85bfee6c75ba57f351e42ff5882da4d811ed6 100644 (file)
@@ -325,7 +325,7 @@ AS t(article_id integer, author text, page_count integer, title text);
 
   <para>
    The calling <command>SELECT</> statement doesn't necessarily have be
-   be just <literal>SELECT *</> &mdash; it can reference the output
+   just <literal>SELECT *</> &mdash; it can reference the output
    columns by name or join them to other tables. The function produces a
    virtual table with which you can perform any operation you wish (e.g.
    aggregation, joining, sorting etc). So we could also have:
index 1e6efd58e4018feded609c13bcf6cc074727994b..8568e21216b787e54bf23e9138cc12d54d2c6f2b 100644 (file)
@@ -189,7 +189,7 @@ SELECT (a + b) AS c FROM test_complex;
 
    <para>
     Unlike commutators, a pair of unary operators could validly be marked
-    as each others' negators; that would mean (A x) equals NOT (B x)
+    as each other's negators; that would mean (A x) equals NOT (B x)
     for all x, or the equivalent for right unary operators.
    </para>