Postgresql 正在尝试为win64编译odbc_fdw postgres扩展

Postgresql 正在尝试为win64编译odbc_fdw postgres扩展,postgresql,foreign-data-wrapper,Postgresql,Foreign Data Wrapper,我想编译这个:用于Windows。我试了一下说明书,到处找了找,但都找不出来 无论我做什么,我都会得到: Makefile:31: C:/Program Files/PostgreSQL/9.2/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory make: *** No rule to make target 'C:/Program Files/PostgreSQL/9.2/lib/pgxs/src/makefiles/pgxs.

我想编译这个:用于Windows。我试了一下说明书,到处找了找,但都找不出来

无论我做什么,我都会得到:

Makefile:31: C:/Program Files/PostgreSQL/9.2/lib/pgxs/src/makefiles/pgxs.mk: No such file or directory
make: *** No rule to make target 'C:/Program Files/PostgreSQL/9.2/lib/pgxs/src/makefiles/pgxs.mk'.  Stop.
如果我使用PGSX

Makefile:35: ../../src/Makefile.global: No such file or directory
Makefile:36: /contrib/contrib-global.mk: No such file or directory
如果我不使用PGSX=1

我知道我需要PGSX来告诉编译器该做什么,或者手动向它提供这些信息,但我似乎也做不到


感谢您的帮助

您想使用什么工具链/编译器?总之,大多数的指令不会考虑或关心Windows。这是一种痛苦。在Windows上并不真正支持PGX。扩展通常通过将它们放在PostgreSQL源代码树中并使用MSVC进行树内构建来编译。但是,您也可以进行树外构建。嗨,Craig,我可以在VS2008中以您为例进行编译,但odbc_fdw需要构建一系列其他时髦的东西并抛出错误。谢谢你的帮助,我会在这个问题上再接再厉,但我怀疑我能否避免使用第三个程序在两个数据库之间移动信息。我和Cygwin在用make。