Porting PG Extension from UNIX to Windows

2018-04-25 Thread insaf.k
Hello, I have developed a postgres extension in Linux. I want to compile it in MS Windows as well. The extension extensively make use of POSIX threads and mutexes. I've done some research regarding compiling in Windows. I am not sure in what way I should compile the extension. AFAIK, Vi

Issues while building PG in MS Windows, using MSYS2 and MinGW-w64

2018-04-27 Thread insaf.k
Hello, I am trying to build PG from source, in MS Windows using MSYS2 and MinGW-w64. I've tried to build PG 10.0 as wells as 10.3. I've done configuring like this ./configure --prefix="/d/pg10/" And when I do "make" or "make world", I'm getting compilation error. I've attached co

Re: Issues while building PG in MS Windows, using MSYS2 and MinGW-w64

2018-04-30 Thread insaf.k
>: win32env.o] Error 1 make[2]: Leaving directory '/home/admin/postgresql-10.0/src/port' make[1]: *** [Makefile:37: all-port-recurse] Error 2 make[1]: Leaving directory '/home/admin/postgresql-10.0/src' make: *** [GNUmakefile:11: all-src-recurse] Error 2 Could you