Commit 2390f2b2 authored by Michael Meskes's avatar Michael Meskes

Documentation fix for ecpg.

The latest fixes removed a limitation that was still in the docs, so Zoltan updated the docs, too.
parent 51867a0f
...@@ -944,20 +944,6 @@ struct varchar_var { int len; char arr[180]; } var; ...@@ -944,20 +944,6 @@ struct varchar_var { int len; char arr[180]; } var;
is used. is used.
</para> </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> <para>
<type>VARCHAR</type> can be written in upper or lower case, but <type>VARCHAR</type> can be written in upper or lower case, but
not in mixed case. not in mixed case.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment