> diff -dcrpN > pgsql.orig/src/interfaces/ecpg/test/expected/compat_informix-struct.c > pgsql.4.1/src/interfaces/ecpg/test/expected/compat_informix-struct.c > ... > + /* Test DECLARE ... SELECT ... INTO with struct type */ > + > + ECPGset_var( 0, &( myvar ), __LINE__);\ > + ECPGset_var( 1, &( mynullvar ), __LINE__);\ > + ECPG_informix_reset_sqlca(); /* declare mycur cursor for select * from a1 > */ > + #line 45 "struct.pgc" > + > + { ECPGdo(__LINE__, 1, 1, NULL, 0, ECPGst_normal, "declare mycur cursor > for select * from a1", ECPGt_EOIT, > + ECPGt_int,&(myvar.id),(long)1,(long)1,sizeof(int), > ...
Why does the preproc spit out ECPGset_var's but no ECPGget_var's in this test case? Michael Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber mes...@jabber.org VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers