ecpg help

From: "sid(at)questions(dot)com" <sbhatt(at)installs(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: ecpg help
Date: 2002-06-27 16:26:02
Message-ID: affeaq$fpv$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hans-Juergen Schoenig 2002-06-27 16:38:10 Acessing columns of parent tables with PL/pgSQL
Previous Message Patrick Bakker 2002-06-27 16:06:33 Wrap-around undo/redo log of temporal/time travel/versioned table