PG8: set search_path at compile time?

"W. Haslbeck" <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hello,

is there a way to set the PostgreSQL search_path (driver pg8) at compile 
time?
Instructions like CONSTRUCT BY NAME doesn't accept the 
"schema.table.column" schema (in contrast to e.g. DEFINE where you can 
say "define var like schema.table.column"), so when the needed schema is 
not in the search_path at compile time, you get an compliation error.

At the moment I use a bit modified version of pg8.c, which sets the 
search_path at the end of A4GLSQLLIB_A4GLSQL_init_connection_internal, 
but I'm not very pleased with this option...

Walter

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.