Fri Oct 7 20:44:41 PDT 2005
- Previous message: [Slony1-commit] By wieck: Fixed malformed query resulting from subscribing to empty set.
- Next message: [Slony1-commit] By wieck: Add version 1.0.6 to the supported upgradable releases.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Let EXECUTE SCRIPT restore system catalog changes on all tables
of all sets. Otherwise, DDL affecting multiple sets is not possible.
Jan
Tags:
----
REL_1_1_STABLE
Modified Files:
--------------
slony1-engine/src/backend:
slony1_funcs.sql (r1.64.2.4 -> r1.64.2.5)
-------------- next part --------------
Index: slony1_funcs.sql
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/backend/slony1_funcs.sql,v
retrieving revision 1.64.2.4
retrieving revision 1.64.2.5
diff -Lsrc/backend/slony1_funcs.sql -Lsrc/backend/slony1_funcs.sql -u -w -r1.64.2.4 -r1.64.2.5
--- src/backend/slony1_funcs.sql
+++ src/backend/slony1_funcs.sql
@@ -3483,10 +3483,9 @@
end if;
-- ----
- -- Restore all original triggers and rules
+ -- Restore all original triggers and rules of all sets
-- ----
for v_row in select * from @NAMESPACE at .sl_table
- where tab_set = p_set_id
loop
perform @NAMESPACE at .alterTableRestore(v_row.tab_id);
end loop;
@@ -3500,7 +3499,6 @@
-- Put all tables back into replicated mode
-- ----
for v_row in select * from @NAMESPACE at .sl_table
- where tab_set = p_set_id
loop
perform @NAMESPACE at .alterTableForReplication(v_row.tab_id);
end loop;
- Previous message: [Slony1-commit] By wieck: Fixed malformed query resulting from subscribing to empty set.
- Next message: [Slony1-commit] By wieck: Add version 1.0.6 to the supported upgradable releases.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list