On Wed, Nov 19, 2003 at 12:26:07PM -0300, Carmen Gloria Sepulveda Dedes wrote:
> In the test.pgc file, I do:
> 
>    EXEC SQL BEGIN DECLARE SECTION;
>         exec sql include test;
>         struct_cursor t_cursor;
>    EXEC SQL END DECLARE SECTION;
> 
> ... and it works fine.  It is correct????

Depends on what test.h contains. ecpg has to learn the definition of
your struct somewhere.

Michael

-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: [EMAIL PROTECTED]
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to