Re: Problem with exec sql include

From: Carmen Gloria Sepulveda Dedes <csepulveda(at)atichile(dot)com>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with exec sql include
Date: 2003-11-19 15:26:07
Message-ID: 3FBB8B8F.FE0ACA2@atichile.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Herbert Liechti 2003-11-19 15:48:49 Wanted: Trick for granting permissions to users with hyphens
Previous Message Rob Sell 2003-11-19 15:24:08 Re: 7.4 broke psql