Tue Aug 30 19:17:43 PDT 2005
- Previous message: [Slony1-commit] By darcyb: Fix execute script bug introduced by rev 1.43 I'll take the
- Next message: [Slony1-commit] By darcyb: Remove ^M EOL markers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 */
- Previous message: [Slony1-commit] By darcyb: Fix execute script bug introduced by rev 1.43 I'll take the
- Next message: [Slony1-commit] By darcyb: Remove ^M EOL markers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list