Wed Apr 18 12:28:29 PDT 2007
- Previous message: [Slony1-commit] slony1-engine RELEASE-1.2.10
- Next message: [Slony1-commit] slony1-engine/src/slonik dbutil.c slonik.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/backend In directory main.slony.info:/tmp/cvs-serv18573/src/backend Modified Files: Tag: REL_1_2_STABLE slony1_funcs.c slony1_funcs.sql Log Message: Fixed problem with EXECUTE SCRIPT (EXECUTE ONLY ON = <node>) - The script was being executed on too many nodes... Index: slony1_funcs.c =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/backend/slony1_funcs.c,v retrieving revision 1.53 retrieving revision 1.53.2.1 diff -C2 -d -r1.53 -r1.53.2.1 *** slony1_funcs.c 7 Sep 2006 13:21:16 -0000 1.53 --- slony1_funcs.c 18 Apr 2007 19:28:27 -0000 1.53.2.1 *************** *** 41,44 **** --- 41,49 ---- #endif + /* -- Change from PostgreSQL Ver 8.3 -- */ + #ifndef VARATT_SIZEP + #define VARATT_SIZEP VARATT_SIZEP_DEPRECATED + #endif + PG_FUNCTION_INFO_V1(_Slony_I_createEvent); PG_FUNCTION_INFO_V1(_Slony_I_getLocalNodeId); Index: slony1_funcs.sql =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/src/backend/slony1_funcs.sql,v retrieving revision 1.98.2.14 retrieving revision 1.98.2.15 diff -C2 -d -r1.98.2.14 -r1.98.2.15 *** slony1_funcs.sql 3 Apr 2007 21:55:03 -0000 1.98.2.14 --- slony1_funcs.sql 18 Apr 2007 19:28:27 -0000 1.98.2.15 *************** *** 3738,3745 **** begin perform @NAMESPACE at .updateRelname(p_set_id, p_only_on_node); - perform @NAMESPACE at .alterTableForReplication(tab_id) from @NAMESPACE at .sl_table where tab_set in (select set_id from @NAMESPACE at .sl_set where set_origin = @NAMESPACE at .getLocalNodeId(''_ at CLUSTERNAME@'')); if p_only_on_node = -1 then ! return @NAMESPACE at .createEvent(''_ at CLUSTERNAME@'', ''DDL_SCRIPT'', p_set_id, p_script, p_only_on_node); end if; return NULL; --- 3738,3748 ---- begin perform @NAMESPACE at .updateRelname(p_set_id, p_only_on_node); if p_only_on_node = -1 then ! perform @NAMESPACE at .alterTableForReplication(tab_id) from @NAMESPACE at .sl_table where tab_set in (select set_id from @NAMESPACE at .sl_set where set_origin = @NAMESPACE at .getLocalNodeId(''_ at CLUSTERNAME@'')); ! ! return @NAMESPACE at .createEvent(''_ at CLUSTERNAME@'', ''DDL_SCRIPT'', p_set_id, p_script, p_only_on_node); + else + perform @NAMESPACE at .alterTableForReplication(tab_id) from @NAMESPACE at .sl_table; end if; return NULL;
- Previous message: [Slony1-commit] slony1-engine RELEASE-1.2.10
- Next message: [Slony1-commit] slony1-engine/src/slonik dbutil.c slonik.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list