diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2016-05-03 21:06:25 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2016-05-03 21:07:00 -0400 |
commit | b0088f7dfffbb9b20b5b75692e94ca729d52270d (patch) | |
tree | 9987378e9b0c257a6f2d963339de98c12fce88e6 | |
parent | 5e7a7703bd5d51628b2ff4999a6b08455e25f1ca (diff) | |
download | postgresql-b0088f7dfffbb9b20b5b75692e94ca729d52270d.tar.gz postgresql-b0088f7dfffbb9b20b5b75692e94ca729d52270d.zip |
doc: Fix typos
From: Alexander Law <exclusion@gmail.com>
-rw-r--r-- | doc/src/sgml/ecpg.sgml | 4 | ||||
-rw-r--r-- | doc/src/sgml/protocol.sgml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 3d328296f58..e12cb11b317 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -636,7 +636,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. @@ -3917,7 +3917,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>, diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index 3fd34576e99..99c7f1d315d 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -2844,7 +2844,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> @@ -4650,7 +4650,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> |