Takahashi-san,
> EXEC SQL EXECUTE test_prep (2);
Could you please also verify for me if this works correctly if you use
a variable instead of the const? As in:
EXEC SQL BEGIN DECLARE SECTION;
int i=2;
EXEC SQL END DECLARE SECTION;
...
EXEC SQL EXECUTE test_prep (:i);
I guess the problem is that constants in this subtree are move to the
output literally instead treated as parameters.
Thanks.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL