Wed Feb 16 22:31:27 PST 2005
- Previous message: [Slony1-commit] By smsimms: Add a missing WHERE clause that causes MOVE SET to fail
- Next message: [Slony1-commit] By smsimms: Provide a less cryptic error message when you pass a
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Add a missing WHERE clause that causes MOVE SET to fail when:
1. There are three or more nodes
2. Sets originate on at least two nodes
3. A set is being moved from a third node to one of the first two.
Tags:
----
REL_1_0_STABLE
Modified Files:
--------------
slony1-engine/src/backend:
slony1_funcs.sql (r1.15.2.11 -> r1.15.2.12)
-------------- next part --------------
Index: slony1_funcs.sql
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/backend/slony1_funcs.sql,v
retrieving revision 1.15.2.11
retrieving revision 1.15.2.12
diff -Lsrc/backend/slony1_funcs.sql -Lsrc/backend/slony1_funcs.sql -u -w -r1.15.2.11 -r1.15.2.12
--- src/backend/slony1_funcs.sql
+++ src/backend/slony1_funcs.sql
@@ -1663,7 +1663,8 @@
v_sub_last = p_new_origin;
select sub_provider into v_sub_node
from @NAMESPACE at .sl_subscribe
- where sub_receiver = p_new_origin;
+ where sub_set = p_set_id
+ and sub_receiver = p_new_origin;
if not found then
raise exception ''Slony-I: subscription path broken in moveSet_int'';
end if;
- Previous message: [Slony1-commit] By smsimms: Add a missing WHERE clause that causes MOVE SET to fail
- Next message: [Slony1-commit] By smsimms: Provide a less cryptic error message when you pass a
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list