dbTalk Databases Forums  

ECPG - Directory with include files

comp.databases.postgresql comp.databases.postgresql


Discuss ECPG - Directory with include files in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Adam Ciazynski
 
Posts: n/a

Default ECPG - Directory with include files - 09-21-2006 , 03:20 AM






Hi!
The ECPG precompiler has the -I options that allows to specify
additional include paths for EXEC SQL INCLUDE statements. As my code
uses many include paths stored in a environment variable (because I'm
porting that app from another database) I was wondering if there is a
way to pass the whole list of include dirs to ECPG. In other words, is
there an env. var. that ECPG uses, something like ECPG_INCLUDE_DIR?
Adam


Reply With Quote
  #2  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: ECPG - Directory with include files - 09-22-2006 , 02:33 AM






Adam Ciazynski <adam.ciazynski (AT) gmail (DOT) com> wrote:
Quote:
The ECPG precompiler has the -I options that allows to specify
additional include paths for EXEC SQL INCLUDE statements. As my code
uses many include paths stored in a environment variable (because I'm
porting that app from another database) I was wondering if there is a
way to pass the whole list of include dirs to ECPG. In other words, is
there an env. var. that ECPG uses, something like ECPG_INCLUDE_DIR?
I don't think there is, but you can use multiple -I flags for more than
one directory.

Yours,
Laurenz Albe


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.