CVS User Account cvsuser
Tue Aug 30 19:17:43 PDT 2005
Log Message:
-----------
pgpipe is not defined in postgresql versions prior to 8.0, add declarations if pgpipe is not defined.

Modified Files:
--------------
    slony1-engine/src/slon:
        slon.h (r1.51 -> r1.52)

-------------- next part --------------
Index: slon.h
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/slon.h,v
retrieving revision 1.51
retrieving revision 1.52
diff -Lsrc/slon/slon.h -Lsrc/slon/slon.h -u -w -r1.51 -r1.52
--- src/slon/slon.h
+++ src/slon/slon.h
@@ -537,6 +537,18 @@
  * ----------
  */
 extern int	slon_log_level;
+
+#ifndef pgpipe
+/* -----------------------------------
+ * pgpipe is not defined in PG pre-8.0
+ * -----------------------------------
+ */
+#define pgpipe(a)			pipe(a)
+#define piperead(a,b,c)		read(a,b,c)
+#define pipewrite(a,b,c)	write(a,b,c)
+#endif
+ 
+
 #endif   /* SLON_H_INCLUDED */
 
 


More information about the Slony1-commit mailing list