postgres.git / summary / log / commit / refs
commit 6bb2972c094032edc88e7c4fc518afe1e7b5d579
Author: Michael Meskes <meskes@postgresql.org>
Date: Wed Nov 27 10:03:59 2013 +0000
First released in: 9.4.0, 9.1.11, 9.2.6, 9.3.2
Documentation fix for ecpg.
The latest fixes removed a limitation that was still in the docs, so Zoltan updated the docs, too.
doc/src/sgml/ecpg.sgml | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index fc9ba0c0186..f197665089f 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -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.
[parent: 744fa4d8eaa1]