Re: [HACKERS] build WIN32 ODBC using VC++, not Cygwin/gcc

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] build WIN32 ODBC using VC++, not Cygwin/gcc
Дата
Msg-id Pine.LNX.4.30.0102051904490.762-100000@peter.localdomain
обсуждение исходный текст
Ответ на build WIN32 ODBC using VC++, not Cygwin/gcc  (Fred Yankowski <fred@ontosys.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] build WIN32 ODBC using VC++, not Cygwin/gcc
Следующее
От: Dave Page
Дата:
Сообщение: Updated ODBC Driver Download