Chris Browne cbbrowne at lists.slony.info
Wed Apr 18 12:28:29 PDT 2007
Update of /home/cvsd/slony1/slony1-engine/src/slonik
In directory main.slony.info:/tmp/cvs-serv18573/src/slonik

Modified Files:
      Tag: REL_1_2_STABLE
	dbutil.c slonik.c 
Log Message:
Fixed problem with EXECUTE SCRIPT (EXECUTE ONLY ON = <node>)

  - The script was being executed on too many nodes...


Index: dbutil.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slonik/dbutil.c,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -C2 -d -r1.12 -r1.12.2.1
*** dbutil.c	28 Jun 2006 04:47:14 -0000	1.12
--- dbutil.c	18 Apr 2007 19:28:27 -0000	1.12.2.1
***************
*** 12,19 ****
  
  
  #include <stdio.h>
  #include <stdlib.h>
  #include <stdarg.h>
- #ifndef WIN32
  #include <unistd.h>
  #include <sys/types.h>
--- 12,19 ----
  
  
+ #ifndef WIN32
  #include <stdio.h>
  #include <stdlib.h>
  #include <stdarg.h>
  #include <unistd.h>
  #include <sys/types.h>

Index: slonik.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slonik/slonik.c,v
retrieving revision 1.67.2.7
retrieving revision 1.67.2.8
diff -C2 -d -r1.67.2.7 -r1.67.2.8
*** slonik.c	3 Apr 2007 21:55:04 -0000	1.67.2.7
--- slonik.c	18 Apr 2007 19:28:27 -0000	1.67.2.8
***************
*** 12,19 ****
  
  
  #include <stdio.h>
  #include <stdlib.h>
  #include <stdarg.h>
- #ifndef WIN32
  #include <unistd.h>
  #include <fcntl.h>
--- 12,19 ----
  
  
+ #ifndef WIN32
  #include <stdio.h>
  #include <stdlib.h>
  #include <stdarg.h>
  #include <unistd.h>
  #include <fcntl.h>
***************
*** 21,31 ****
  #include <sys/types.h>
  #include <sys/wait.h>
  #else
  #define sleep(x) Sleep(x*1000)
  #define vsnprintf _vsnprintf
- #define INT64_FORMAT "%I64d"
  #endif
- #include <errno.h>
- #include <time.h>
  
  #include "postgres.h"
--- 21,30 ----
  #include <sys/types.h>
  #include <sys/wait.h>
+ #include <errno.h>
+ #include <time.h>
  #else
  #define sleep(x) Sleep(x*1000)
  #define vsnprintf _vsnprintf
  #endif
  
  #include "postgres.h"



More information about the Slony1-commit mailing list