doc: Fix typos
authorPeter Eisentraut <[email protected]>
Wed, 4 May 2016 01:06:25 +0000 (21:06 -0400)
committerPeter Eisentraut <[email protected]>
Wed, 4 May 2016 01:07:53 +0000 (21:07 -0400)
From: Alexander Law <[email protected]>

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

index 0eb7b900c4532d71d6ac76cba408ab3f45e2fe64..1afaefb465cadab841ebae0417a32162f2788e76 100644 (file)
@@ -634,7 +634,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.
@@ -3915,7 +3915,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 87741f3b374b98447acf4a190947d151e8632210..70b15b979b0554a1a7b17dca6436b27daa748a29 100644 (file)
@@ -2556,7 +2556,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>
@@ -4362,7 +4362,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>