Re: Problem with exec sql include

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Carmen Gloria Sepulveda Dedes <csepulveda(at)atichile(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with exec sql include
Date: 2003-11-19 15:14:29
Message-ID: 20031119151429.GA8730@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rajesh Kumar Mallah 2003-11-19 15:16:32 7.4RC2 --> 7.4
Previous Message Johan Fredrik Øhman 2003-11-19 15:08:47 Storing a chain