ecpg help - Mailing list pgsql-general

From sid@questions.com
Subject ecpg help
Date
Msg-id affeaq$fpv$1@news.hub.org
Whole thread Raw
Responses Re: ecpg help  (Michael Meskes <meskes@postgresql.org>)
ecpg help  (Lee Kindness <lkindness@csl.co.uk>)
List pgsql-general
Hi,
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 help.
Vikas.




pgsql-general by date:

Previous
From: "David Siebert"
Date:
Subject: Re: What is a tuple?
Next
From: Hans-Juergen Schoenig
Date:
Subject: Acessing columns of parent tables with PL/pgSQL