Here is what we install by default and what we could do about it:
config.h rename to pg_config.h
os.h rename to pg_config_os.h
 -- The libpq-int.h draws in a lot of internal structure, true to the
name. Something should be done about that, such as not installing it, or
moving it to a "hidden" place. Ideas?
 -- The ecpg preprocessor will actually include copies of these into
the output file when seeing the commands 'exec sql include sql3types;'
etc., thus not really making these include files in the traditional sense.
The names are okay for the moment, but I will research this some more.
 -- The names clash with the actual iodbc package. Not sure if this is
intended, but I will evaluate with the odbc group.
The idea I currently have for the installation layout including the server
includes is this:
libpq-fe.h => /usr/local/pgsql/include/libpq-fe.h
access/xlog.h => /usr/local/pgsql/include/server/access/xlog.h
libpq-fe.h => /usr/local/include/libpq-fe.h
access/xlog.h => /usr/local/include/postgresql/server/access/xlog.h
pg_config will get an option --server-includedir to point to the files.
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
pgsql-hackers by date
|Next:||From: Peter Wiley||Date: 2001-08-22 22:33:28|
|Subject: Re: Re: JDBC changes for 7.2... some questions...|
|Previous:||From: Tom Lane||Date: 2001-08-22 22:11:49|
|Subject: Re: Patch list delay |