Chris Browne cbbrowne at lists.slony.info
Fri Jul 31 12:16:30 PDT 2009
Update of /home/cvsd/slony1/slony1-engine/src/slonik
In directory main.slony.info:/tmp/cvs-serv1155/slonik

Modified Files:
      Tag: REL_1_2_STABLE
	slonik.c 
Log Message:
Slonik should recognize PostgreSQL 8.4 as a legitimate supported version.

Fix problem where, with 8.4, a column on pg_class that no longer exists
gets updated by functions that alter/restore tables for/from replication.


Index: slonik.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slonik/slonik.c,v
retrieving revision 1.67.2.19
retrieving revision 1.67.2.20
diff -C2 -d -r1.67.2.19 -r1.67.2.20
*** slonik.c	13 Apr 2009 17:41:33 -0000	1.67.2.19
--- slonik.c	31 Jul 2009 19:16:28 -0000	1.67.2.20
***************
*** 1906,1915 ****
  		use_minor = 0;
  	}
! 	else if ((adminfo->pg_version >= 80100) && adminfo->pg_version < 80400)	/* 8.1, 8.2 and 8.3 */
  	{
  		use_major = 8;
  		use_minor = 1;
  	}
! 	else	/* 8.3+ */
  	{
  		use_major = 8;
--- 1906,1915 ----
  		use_minor = 0;
  	}
! 	else if ((adminfo->pg_version >= 80100) && adminfo->pg_version < 80500)	/* 8.1, 8.2, 8.3, 8.4 */
  	{
  		use_major = 8;
  		use_minor = 1;
  	}
! 	else	/* 8.5+ */
  	{
  		use_major = 8;



More information about the Slony1-commit mailing list