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

Modified Files:
	slony1_funcs.c 
Log Message:
As in 2.0 branch, needed to change autoconf + slony1_funcs.c to reflect that
in PG 8.5, ScanKeywordLookup has 3 parms, not 1


Index: slony1_funcs.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/backend/slony1_funcs.c,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -d -r1.72 -r1.73
*** slony1_funcs.c	17 Aug 2009 17:25:49 -0000	1.72
--- slony1_funcs.c	27 Nov 2009 20:21:22 -0000	1.73
***************
*** 1108,1112 ****
--- 1108,1118 ----
  		 * that's 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