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

From Michael Meskes
Subject Re: Problem with exec sql include
Date
Msg-id 20031119151429.GA8730@feivel.fam-meskes.de
Whole thread Raw
In response to Problem with exec sql include  (Carmen Gloria Sepulveda Dedes <csepulveda@atichile.com>)
List pgsql-general
On Wed, Nov 19, 2003 at 11:09:58AM -0300, Carmen Gloria Sepulveda Dedes wrote:
> I know that I can include the typedef at DECLARE SECTION, but I don't
> want to use that (test.h and test.pgc are only examples of the problem

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.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

pgsql-general by date:

Previous
From: Miso Hlavac
Date:
Subject: exclusive access
Next
From: Lamar Owen
Date:
Subject: Re: SuSE RPMs available for PostgreSQL 7.4