Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Slony under win32


  • From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
  • To: slony1-general(at)gborg(dot)postgresql(dot)org
  • Cc: pgsql-hackers-win32(at)postgresql(dot)org
  • Subject: Slony under win32
  • Date: Wed, 23 Feb 2005 15:35:38 +0000
  • Message-id: <421CA2CA(dot)2060801(at)pse-consulting(dot)de>

I created new makefiles for slony_funcs and xxid using the contrib infrastructure, which makes them win32 compatible. IMHO the attached versions should replace the current ones.

After some short tests, Slony-q 1.0.5 seems to be able to replicate with win32 servers using those modules correctly.

The slon process currently refuses to link, the thread lib seems to be the problem.

Apparently slonik uses fork(), which would make porting it much more expensive. I won't spent more time on that, pgAdmin will do that anyway.

Regards,
Andreas

MODULES=slony1_funcs
slony_subdir = src/slony1_funcs
slony_top_builddir = ../..
include $(slony_top_builddir)/Makefile.global
CFLAGS += -I$(slony_top_builddir)

ifdef USE_PGXS
PGXS = $(shell pg_config --pgxs)
include $(PGXS)
else
top_builddir = $(PGSOURCETREE)
include $(PGSOURCETREE)/contrib/contrib-global.mk
endif
MODULES=xxid
slony_subdir = src/xxid
slony_top_builddir = ../..
include $(slony_top_builddir)/Makefile.global

ifdef USE_PGXS
PGXS = $(shell pg_config --pgxs)
include $(PGXS)
else
top_builddir = $(PGSOURCETREE)
include $(PGSOURCETREE)/contrib/contrib-global.mk
endif


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group