From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | "sid(at)questions(dot)com" <sbhatt(at)installs(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: ecpg help |
Date: | 2002-06-28 13:13:14 |
Message-ID: | 20020628131314.GC10588@feivel.credativ.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Jun 27, 2002 at 12:26:02PM -0400, sid(at)questions(dot)com wrote:
> I am trying to use preprocessor directives inside the declare statements but
> its giving me compile time errors.
> What i am do is something like this
>
> EXEC SQL BEGIN DECLARE SECTION;
> char myvar[NUM];
> EXEC SQL END DECLARE SECTION;
>
> #define NUM 20 is present in one of the include files.
Please use "EXEC SQL DEFINE NUM 20" to define NUM for ECPG. ECPG does
not parse CPP directives.
Michael
--
Michael Meskes
Michael(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!
From | Date | Subject | |
---|---|---|---|
Next Message | P.J. "Josh" Rovero | 2002-06-28 13:13:59 | Re: One source of constant annoyance identified |
Previous Message | Daryl Beattie | 2002-06-28 13:11:53 | Re: What is a tuple? |