Hello!
Bruce Momjian <bruce@momjian.us>
Hello! Through some minor changes, I have been able to compile the libpq client libraries on the Win32 platform. Since the libpq communications part has been rewritten, this has become much easier. Enclosed is a patch that will allow at least Microsoft Visual C++ to compile libpq into both a static and a dynamic library. I will take a look at porting the psql frontend as well, but I figured it was a good idea to send in these patches first - so no major changes are done to the files before it gets applied (if it does). Regards, Magnus Hagander
Files
| Path | Change | +/− |
|---|---|---|
| src/include/postgres.h | modified | +3 −1 |
| src/interfaces/libpq/fe-auth.c | modified | +13 −1 |
| src/interfaces/libpq/fe-connect.c | modified | +32 −4 |
| src/interfaces/libpq/fe-exec.c | modified | +4 −1 |
| src/interfaces/libpq/fe-lobj.c | modified | +6 −1 |
| src/interfaces/libpq/fe-misc.c | modified | +9 −1 |
| src/interfaces/libpq/fe-print.c | modified | +24 −3 |
| src/interfaces/libpq/libpqdll.c | added | +6 −0 |
| src/interfaces/libpq/libpqdll.def | added | +73 −0 |
| src/interfaces/libpq/win32.h | added | +35 −0 |
| src/interfaces/libpq/win32.mak | added | +112 −0 |
| src/win32.mak | added | +17 −0 |