vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| -----Original Message----- From: pgsql-odbc-owner@postgresql.org on behalf of Peter Eisentraut Sent: Tue 10/11/2005 10:16 AM To: pgsql-odbc@postgresql.org Subject: [ODBC] Using pg_config > I was unable to build the libpq-based driver because it apparently makes some > hard-coded assumptions about the installation paths which did not work on my > system. It'd be better if pg_config were used to detect the installation > paths. I've attached a patch for that here. I'm not sure how that works on > Windows, though. Comments? It's not a problem on Windows as we build using VC++ with win32.mak. We don't support Mingw builds as we don't currently have any configure code to allow the use of the Microsoft DM instead of iODBC or unixODBC. Can you apply the patch, or shall I? Regards, Dave. ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster |
| |||
| Hi Dave, could you please change the path's in win32.mak and psqlodbc.wxs (and other places) from: C:\Program Files\PostgreSQL\8.1\include to: %programfiles%\PostgreSQL\8.1\include since not everybody is installing Windows on C:\ and the path \Program Files\ is not always the same in different international installations. regards Johann ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match |
| ||||
| Dave Page wrote: > It's not a problem on Windows as we build using VC++ with win32.mak. > We don't support Mingw builds as we don't currently have any > configure code to allow the use of the Microsoft DM instead of iODBC > or unixODBC. I think this could be made to work if there is interest. It seems that the current driver manager detection code might be pretty useless anyway. Note that we don't even link with libodbcinst. All we need are the header files <sql.h> etc., which are the same everywhere. > Can you apply the patch, or shall I? I just did. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org |