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

Modified Files:
      Tag: REL_2_0_STABLE
	slony1_funcs.c 
Log Message:
Add an 8.5-ism...

ScanKeywordLookup now expects 3 arguments.

Added an autoconf test to check to see if there's 1 or 3 arguments

Changed src/backend/slony1_funcs.c to use 1/3 arguments, as appropriate


Index: slony1_funcs.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/backend/slony1_funcs.c,v
retrieving revision 1.68.2.3
retrieving revision 1.68.2.4
diff -C2 -d -r1.68.2.3 -r1.68.2.4
*** slony1_funcs.c	17 Aug 2009 16:56:09 -0000	1.68.2.3
--- slony1_funcs.c	27 Nov 2009 20:19:50 -0000	1.68.2.4
***************
*** 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