]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: Fix typos
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 4 May 2016 01:06:25 +0000 (21:06 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 4 May 2016 01:08:00 +0000 (21:08 -0400)
From: Alexander Law <exclusion@gmail.com>

doc/src/sgml/ecpg.sgml
doc/src/sgml/protocol.sgml

index d920f664e36931390ef0008f5cdd0081993f9036..b4031c42cf0505a4417642f8ce1e68c75bc3ed6a 100644 (file)
@@ -632,7 +632,7 @@ EXEC SQL DEALLOCATE PREPARE <replaceable>name</replaceable>;
 <programlisting>
 EXEC SQL INSERT INTO sometable VALUES (:v1, 'foo', :v2);
 </programlisting>
-    This statements refers to two C variables named
+    This statement refers to two C variables named
     <varname>v1</varname> and <varname>v2</varname> and also uses a
     regular SQL string literal, to illustrate that you are not
     restricted to use one kind of data or the other.
@@ -3908,7 +3908,7 @@ typedef struct sqlda_struct sqlda_t;
       <term><literal>sqln</></term>
       <listitem>
        <para>
-        It contains the number of input parameters for a parametrized query
+        It contains the number of input parameters for a parametrized query in
         case it's passed into <command>OPEN</command>, <command>DECLARE</command> or
         <command>EXECUTE</command> statements using the <literal>USING</literal>
         keyword. In case it's used as output of <command>SELECT</command>,
index 21894f614ebd1478a6ff7aef34c6a41d67c0e9c6..38664f6759d82596997c17547a26a3a0c3afb08d 100644 (file)
@@ -2523,7 +2523,7 @@ CancelRequest (F)
 <para>
                 The cancel request code.  The value is chosen to contain
                 <literal>1234</> in the most significant 16 bits, and <literal>5678</> in the
-                least 16 significant bits.  (To avoid confusion, this code
+                least significant 16 bits.  (To avoid confusion, this code
                 must not be the same as any protocol version number.)
 </para>
 </listitem>
@@ -4329,7 +4329,7 @@ SSLRequest (F)
 <para>
                 The <acronym>SSL</acronym> request code.  The value is chosen to contain
                 <literal>1234</> in the most significant 16 bits, and <literal>5679</> in the
-                least 16 significant bits.  (To avoid confusion, this code
+                least significant 16 bits.  (To avoid confusion, this code
                 must not be the same as any protocol version number.)
 </para>
 </listitem>