SOURCES: slony1-pgsql82.patch (NEW) - new
adamg
adamg at pld-linux.org
Tue Dec 26 21:46:55 CET 2006
Author: adamg Date: Tue Dec 26 20:46:55 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- new
---- Files affected:
SOURCES:
slony1-pgsql82.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/slony1-pgsql82.patch
diff -u /dev/null SOURCES/slony1-pgsql82.patch:1.1
--- /dev/null Tue Dec 26 21:46:55 2006
+++ SOURCES/slony1-pgsql82.patch Tue Dec 26 21:46:50 2006
@@ -0,0 +1,39 @@
+--- slony1-1.1.5/src/slon/Makefile~ 2006-12-26 21:27:17.000000000 +0100
++++ slony1-1.1.5/src/slon/Makefile 2006-12-26 21:38:21.000000000 +0100
+@@ -52,7 +52,7 @@
+ all: $(ALL)
+
+ $(PROG): $(OBJS)
+- $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(PTHREAD_CFLAGS) $(LDFLAGS)
++ $(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(PTHREAD_CFLAGS) $(LDFLAGS) $(pglibdir)libpgport.a
+
+ cleanup_thread.o: cleanup_thread.c slon.h
+ dbutils.o: dbutils.c slon.h
+--- slony1-1.1.5/src/backend/slony1_funcs.c~ 2006-01-06 18:07:46.000000000 +0100
++++ slony1-1.1.5/src/backend/slony1_funcs.c 2006-12-26 21:45:51.000000000 +0100
+@@ -22,6 +22,7 @@
+ #include "commands/async.h"
+ #include "catalog/pg_operator.h"
+ #include "access/xact.h"
++#include "access/transam.h"
+ #include "utils/builtins.h"
+ #include "utils/elog.h"
+ #ifdef HAVE_TYPCACHE
+@@ -1297,7 +1298,7 @@
+ xxid_typename->names =
+ lappend(lappend(NIL, makeString(NameStr(cs->clustername))),
+ makeString("xxid"));
+- xxid_typid = typenameTypeId(xxid_typename);
++ xxid_typid = typenameTypeId(NULL, xxid_typename);
+
+ plan_types[0] = INT4OID;
+
+@@ -1377,7 +1378,7 @@
+ xxid_typename->names =
+ lappend(lappend(NIL, makeString(NameStr(cs->clustername))),
+ makeString("xxid"));
+- xxid_typid = typenameTypeId(xxid_typename);
++ xxid_typid = typenameTypeId(NULL, xxid_typename);
+
+ /*
+ * Create the saved plan's
================================================================
More information about the pld-cvs-commit
mailing list