]> granicus.if.org Git - postgresql/commitdiff
Documentation fix for ecpg.
authorMichael Meskes <meskes@postgresql.org>
Wed, 27 Nov 2013 10:03:59 +0000 (11:03 +0100)
committerMichael Meskes <meskes@postgresql.org>
Wed, 27 Nov 2013 10:15:09 +0000 (11:15 +0100)
The latest fixes removed a limitation that was still in the docs, so Zoltan updated the docs, too.

doc/src/sgml/ecpg.sgml

index fc9ba0c0186729787355c0ebd106462d3d2e6650..f197665089f4b35be02b8b054227d13f72e0bfed 100644 (file)
@@ -942,20 +942,6 @@ struct varchar_var { int len; char arr[180]; } var;
      is used.
     </para>
 
-    <para>
-     Two or more <type>VARCHAR</type> host variables cannot be defined
-     in single line statement.  The following code will confuse
-     the <command>ecpg</command> preprocessor:
-<programlisting>
-VARCHAR v1[128], v2[128];   /* WRONG */
-</programlisting>
-     Two variables should be defined in separate statements like this:
-<programlisting>
-VARCHAR v1[128];
-VARCHAR v2[128];
-</programlisting>
-    </para>
-
     <para>
      <type>VARCHAR</type> can be written in upper or lower case, but
      not in mixed case.