Wed May 25 14:31:19 PDT 2011
- Previous message: [Slony1-commit] Slony-I-commit Updating release number for 2.0.7 + release notes
- Next message: [Slony1-commit] Slony-I-commit Tag REL_2_0_7_RC1 has been created.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Changes to support win32 builds with Visual Studio. This change involves removing dependencies on postgres.h and related server files. win32.mak files were created as well + other header and define changes needed for win32 builds with Visual Studio. To build with Visual Studio set environment variables like PG_LIB=C:\Postgresql\9.0\lib PG_INC=C:\Postgresql\9.0\include PGSHARE="C:\\Postgresql\\9.0\\share" PTHREADS_LIB=C:\pthreads\lib PTHREADS_INC=C:\pthreads\include GETTEXT_LIB=C:\gettext\lib then build with nmake /f win32.mak slon.exe nmake /f win32.mak slonik.exe nmake /f win32.mak slony1_funcs.dll in each of src/slon src/slonik src/backend respectivly Thanks to sachin.srivastava at enterprisedb.com for some of the changes. Branch ------ REL_2_0_STABLE Details ------- http://git.postgresql.org/gitweb?p=slony1-engine.git;a=commitdiff;h=567c9a9c289184a2e3aa9fe3924c1d49a2397ed9 Modified Files -------------- config_msvc.h | 21 + src/backend/slony1_funcs.c | 5 + src/backend/slony1_funcs.def | 9 + src/backend/win32.mak | 14 + src/parsestatements/Makefile | 6 +- src/parsestatements/test_sql.expected.win32 | Bin 6309 -> 6306 bytes src/slon/cleanup_thread.c | 6 +- src/slon/conf-file.l | 5 +- src/slon/confoptions.c | 1518 ++++++++++++++------------- src/slon/confoptions.h | 11 +- src/slon/dbutils.c | 6 +- src/slon/local_listen.c | 7 +- src/slon/misc.c | 7 +- src/slon/port/pipe.c | 14 +- src/slon/port/win32service.c | 3 + src/slon/remote_listen.c | 6 +- src/slon/remote_worker.c | 14 +- src/slon/runtime_config.c | 4 +- src/slon/scheduler.c | 7 +- src/slon/slon.c | 5 +- src/slon/slon.h | 18 +- src/slon/sync_thread.c | 7 +- src/slon/types.h | 96 ++ src/slon/win32.mak | 71 ++ src/slonik/dbutil.c | 11 +- src/slonik/parser.y | 2 +- src/slonik/scan.l | 2 +- src/slonik/slonik.c | 89 +- src/slonik/slonik.h | 10 +- src/slonik/types.h | 101 ++ src/slonik/win32.mak | 32 + 31 files changed, 1270 insertions(+), 837 deletions(-)
- Previous message: [Slony1-commit] Slony-I-commit Updating release number for 2.0.7 + release notes
- Next message: [Slony1-commit] Slony-I-commit Tag REL_2_0_7_RC1 has been created.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list