Re: [HACKERS] build WIN32 ODBC using VC++, not Cygwin/gcc - Mailing list pgsql-odbc

From Peter Eisentraut
Subject Re: [HACKERS] build WIN32 ODBC using VC++, not Cygwin/gcc
Date
Msg-id Pine.LNX.4.30.0102051904490.762-100000@peter.localdomain
Whole thread Raw
In response to build WIN32 ODBC using VC++, not Cygwin/gcc  (Fred Yankowski <fred@ontosys.com>)
List pgsql-odbc
Fred Yankowski writes:

> To build the PostgreSQL ODBC driver from CVS (or a recent
> snapshot/beta, I presume): the following steps worked for me:
[snip]
> + Run 'configure' _without_ '--with-odbc' to build PostgreSQL.

I doubt you need that, since you don't use the makefiles.

[snip]

> Building with '--with-odbc' will appear to work, but the resulting DLL
> (created by Cygwin gcc/tools) completely fails to work for me once
> installed.  (It would have been nice if the documentation gave a hint
> about this.  Or did I miss it?

Something more detailed thatn "completely fails to work" might shed some
light onto it.

> The presense of the readme.txt file does not suffice to make it clear
> that VC++ is the _only_ correct way to build the module for WIN32.)

True, it is not a very prominent place to hide such a thing.  Maybe it
would be appropriate to mention it in the "Installation on Windows"
chapter in the Administrator's Guide or alternatively in the ODBC chapter
in the Programmer's Guide.


Can somebody explain to me what this means, from said readme.txt:

"In order to use row versioning, you must overload the int4eq function for
use with the xid type."


--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


pgsql-odbc by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] build WIN32 ODBC using VC++, not Cygwin/gcc
Next
From: Dave Page
Date:
Subject: Updated ODBC Driver Download