Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Atri Sharma
On Fri, Jul 13, 2012 at 7:03 PM, Andrew Dunstan wrote: > > On 07/13/2012 09:12 AM, Atri Sharma wrote: >> >> On Fri, Jul 13, 2012 at 6:40 PM, Andrew Dunstan >> wrote: >>> >>> On 07/13/2012 08:57 AM, Atri Sharma wrote: On Fri, Jul 13, 2012 at 6:13 PM, Andrew Dunstan wrote: > >>>

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Andrew Dunstan
On 07/13/2012 09:12 AM, Atri Sharma wrote: On Fri, Jul 13, 2012 at 6:40 PM, Andrew Dunstan wrote: On 07/13/2012 08:57 AM, Atri Sharma wrote: On Fri, Jul 13, 2012 at 6:13 PM, Andrew Dunstan wrote: On 07/13/2012 08:07 AM, Albe Laurenz wrote: I have read a report that extensions built with Mi

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Atri Sharma
On Fri, Jul 13, 2012 at 6:40 PM, Andrew Dunstan wrote: > > On 07/13/2012 08:57 AM, Atri Sharma wrote: >> >> On Fri, Jul 13, 2012 at 6:13 PM, Andrew Dunstan >> wrote: >>> >>> On 07/13/2012 08:07 AM, Albe Laurenz wrote: I have read a report that extensions built with MinGW are compatible

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Andrew Dunstan
On 07/13/2012 08:57 AM, Atri Sharma wrote: On Fri, Jul 13, 2012 at 6:13 PM, Andrew Dunstan wrote: On 07/13/2012 08:07 AM, Albe Laurenz wrote: I have read a report that extensions built with MinGW are compatible with EDB's binaries if you use --disable-float8-byval (http://www.postgresonline.c

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Atri Sharma
On Fri, Jul 13, 2012 at 6:13 PM, Andrew Dunstan wrote: > > On 07/13/2012 08:07 AM, Albe Laurenz wrote: >> >> I have read a report that extensions built with MinGW are compatible with >> EDB's binaries if you use --disable-float8-byval >> (http://www.postgresonline.com/journal/archives/246-ODBC-For

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Andrew Dunstan
On 07/13/2012 08:07 AM, Albe Laurenz wrote: I have read a report that extensions built with MinGW are compatible with EDB's binaries if you use --disable-float8-byval (http://www.postgresonline.com/journal/archives/246-ODBC-Foreign-Data-wr apper-odbc_fdw-on-windows.html). Unfortunately, not

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Albe Laurenz
Atri Sharma wrote: > How do I use PGXS with MinGW)? Just as described in http://www.postgresql.org/docs/9.1/static/extend-pgxs.html Build PostgreSQL with MinGW (./configure && make && make install) and use a Makefile as shown in the documentation. Yours, Laurenz Albe -- Sent via pgsql-hackers

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Atri Sharma
On Fri, Jul 13, 2012 at 5:37 PM, Albe Laurenz wrote: > Atri Sharma wrote: >> On Fri, Jul 13, 2012 at 2:11 PM, Dave Page wrote: >>> On Fri, Jul 13, 2012 at 9:31 AM, Atri Sharma > wrote: I am trying to install my FDW project on windows.I did some research and I believe I shall be requiri

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Albe Laurenz
Atri Sharma wrote: > On Fri, Jul 13, 2012 at 2:11 PM, Dave Page wrote: >> On Fri, Jul 13, 2012 at 9:31 AM, Atri Sharma wrote: >>> I am trying to install my FDW project on windows.I did some research >>> and I believe I shall be requiring pre compiled binaries(dll files).I >>> tried cross compilin

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Atri Sharma
On Fri, Jul 13, 2012 at 3:35 PM, Dave Page wrote: > On Fri, Jul 13, 2012 at 11:03 AM, Atri Sharma wrote: >> >> Okies,thanks. >> >> Another thing,could you please help me in installation of my FDW >> project in packaged installations of PostgreSQL in Debian and Red >> hat?I did source based instal

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Dave Page
On Fri, Jul 13, 2012 at 11:03 AM, Atri Sharma wrote: > > Okies,thanks. > > Another thing,could you please help me in installation of my FDW > project in packaged installations of PostgreSQL in Debian and Red > hat?I did source based installations. I'm not really involved with the native packages

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Atri Sharma
On Fri, Jul 13, 2012 at 3:21 PM, Dave Page wrote: > On Fri, Jul 13, 2012 at 10:04 AM, Atri Sharma wrote: >> >> Thanks for the advice.i shall build PostgreSQL from sources in >> windows,then,try to get vc++ installed and configured"? > > No, the other way round - that'll prove VC++ is setup corre

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Dave Page
On Fri, Jul 13, 2012 at 10:04 AM, Atri Sharma wrote: > > Thanks for the advice.i shall build PostgreSQL from sources in > windows,then,try to get vc++ installed and configured"? No, the other way round - that'll prove VC++ is setup correctly. Note that you don't actually need to build PG from s

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Atri Sharma
Sent from my iPad On 13-Jul-2012, at 2:23 PM, Dave Page wrote: > On Fri, Jul 13, 2012 at 9:46 AM, Atri Sharma wrote: >> >> Hi Dave, >> >> I am sorry,I am not too sure about EDB.Cannot I cross compile even for >> EnterpriseDB version? > > I doubt it. The EDB builds are compiled with VC++ 20

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Dave Page
On Fri, Jul 13, 2012 at 9:46 AM, Atri Sharma wrote: > > Hi Dave, > > I am sorry,I am not too sure about EDB.Cannot I cross compile even for > EnterpriseDB version? I doubt it. The EDB builds are compiled with VC++ 2008 (for 9.0/9.1). If you cross-compile with GCC, you'll be using a different vers

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Atri Sharma
On Fri, Jul 13, 2012 at 2:11 PM, Dave Page wrote: > On Fri, Jul 13, 2012 at 9:31 AM, Atri Sharma wrote: >> Hi all, >> >> I am trying to install my FDW project on windows.I did some research >> and I believe I shall be requiring pre compiled binaries(dll files).I >> tried cross compiling using Min

Re: [HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Dave Page
On Fri, Jul 13, 2012 at 9:31 AM, Atri Sharma wrote: > Hi all, > > I am trying to install my FDW project on windows.I did some research > and I believe I shall be requiring pre compiled binaries(dll files).I > tried cross compiling using MinGW on my Ubuntu.I am using PGXS for > compiling and making

[HACKERS] Regarding installation of FDW on Windows

2012-07-13 Thread Atri Sharma
Hi all, I am trying to install my FDW project on windows.I did some research and I believe I shall be requiring pre compiled binaries(dll files).I tried cross compiling using MinGW on my Ubuntu.I am using PGXS for compiling and making my project.I tried overriding CC and setting it to the MinGW C