Chris Browne cbbrowne at lists.slony.info
Tue Jul 21 14:15:54 PDT 2009
Update of /home/cvsd/slony1/slony1-engine/src/slonik
In directory main.slony.info:/tmp/cvs-serv8262/slonik

Modified Files:
      Tag: REL_2_0_STABLE
	slonik.c 
Log Message:
Addressing autovacuum change in PostgreSQL 8.4

1.  Need to have v84.sql files

2.  Need for slonik to install v84.sql files, when apropos

3.  v84.sql functions file implements alternative implementation
    which pulls the attribute from pg_class rather than the former
    pg_autovacuum table


Index: slonik.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slonik/slonik.c,v
retrieving revision 1.91.2.3
retrieving revision 1.91.2.4
diff -C2 -d -r1.91.2.3 -r1.91.2.4
*** slonik.c	14 Jul 2009 19:09:00 -0000	1.91.2.3
--- slonik.c	21 Jul 2009 21:15:51 -0000	1.91.2.4
***************
*** 1803,1814 ****
  	{
  		use_major = 8;
! 		use_minor = 3;   /* at this point, there's nothing specifically different in 8.4 from 8.3 */
  	}
  	else	/* above 8.4 ??? */
  	{
  		use_major = 8;
! 		use_minor = 3;
  		printf("%s:%d: Possible unsupported PostgreSQL "
! 			"version (%d) %d.%d, defaulting to 8.3 support\n",
                          stmt->stmt_filename, stmt->stmt_lno, adminfo->pg_version,
  			(adminfo->pg_version/10000), ((adminfo->pg_version%10000)/100));
--- 1803,1814 ----
  	{
  		use_major = 8;
! 		use_minor = 4;   /* at this point, there's nothing specifically different in 8.4 from 8.3 */
  	}
  	else	/* above 8.4 ??? */
  	{
  		use_major = 8;
! 		use_minor = 4;
  		printf("%s:%d: Possible unsupported PostgreSQL "
! 			"version (%d) %d.%d, defaulting to 8.4 support\n",
                          stmt->stmt_filename, stmt->stmt_lno, adminfo->pg_version,
  			(adminfo->pg_version/10000), ((adminfo->pg_version%10000)/100));



More information about the Slony1-commit mailing list