Chris Browne cbbrowne at lists.slony.info
Fri Nov 27 12:31:02 PST 2009
Update of /home/cvsd/slony1/slony1-engine/src/backend
In directory main.slony.info:/tmp/cvs-serv19505/src/backend

Modified Files:
      Tag: REL_1_2_STABLE
	slony1_funcs.c 
Log Message:
ScanKeywordLookup requires 3 args in PG 8.5...  Change autoconf to 
recognize this.


Index: slony1_funcs.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/backend/slony1_funcs.c,v
retrieving revision 1.53.2.5
retrieving revision 1.53.2.6
diff -C2 -d -r1.53.2.5 -r1.53.2.6
*** slony1_funcs.c	17 Aug 2009 17:39:57 -0000	1.53.2.5
--- slony1_funcs.c	27 Nov 2009 20:31:00 -0000	1.53.2.6
***************
*** 1192,1196 ****
--- 1192,1202 ----
  		 * fine, since we already know we have all-lower-case.
  		 */
+ 
+ #ifdef SCANKEYWORDLOOKUP_1
  		if (ScanKeywordLookup(ident) != NULL)
+ #endif
+ #ifdef SCANKEYWORDLOOKUP_3		   
+ 			if (ScanKeywordLookup(ident,ScanKeywords,NumScanKeywords) != NULL)
+ #endif
  			safe = false;
  	}



More information about the Slony1-commit mailing list