Re: Problem with exec sql include - Mailing list pgsql-general

From Carmen Gloria Sepulveda Dedes
Subject Re: Problem with exec sql include
Date
Msg-id 3FBB8B8F.FE0ACA2@atichile.com
Whole thread Raw
In response to Problem with exec sql include  (Carmen Gloria Sepulveda Dedes <csepulveda@atichile.com>)
Responses Re: Problem with exec sql include
List pgsql-general
Thanks for you suggestion.

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????

Thank you again.

CG


> ECPG does not parse anything outside EXEC SQL blocks, so how else should
> it lear about your struct definition? You can of course use a EXEC SQL
> TYPE command to define it for ECPG as well.


pgsql-general by date:

Previous
From: Johan Fredrik Øhman
Date:
Subject: Storing a chain
Next
From: "Rob Sell"
Date:
Subject: Re: 7.4 broke psql