Wed Dec 14 15:31:37 PST 2005
- Previous message: [Slony1-commit] By devrim: - Added RELEASE files to docs
- Next message: [Slony1-commit] By wieck: With the new watchdog behaviour, the macro's slon_retry() and
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Log Message:
-----------
Rebuild listen entries also on change of data provider for
and existing subscription.
Jan
Modified Files:
--------------
slony1-engine/src/backend:
slony1_funcs.sql (r1.74 -> r1.75)
-------------- next part --------------
Index: slony1_funcs.sql
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/backend/slony1_funcs.sql,v
retrieving revision 1.74
retrieving revision 1.75
diff -Lsrc/backend/slony1_funcs.sql -Lsrc/backend/slony1_funcs.sql -u -w -r1.74 -r1.75
--- src/backend/slony1_funcs.sql
+++ src/backend/slony1_funcs.sql
@@ -3874,11 +3874,6 @@
perform @NAMESPACE at .subscribeSet_int(p_sub_set, p_sub_provider,
p_sub_receiver, p_sub_forward);
- -- ----
- -- Submit listen management events
- -- ----
- perform @NAMESPACE at .RebuildListenEntries();
-
return v_ev_seqno;
end;
' language plpgsql;
@@ -3931,6 +3926,11 @@
where sub_set = p_sub_set
and sub_receiver = p_sub_receiver;
if found then
+ -- ----
+ -- Rewrite sl_listen table
+ -- ----
+ perform @NAMESPACE at .RebuildListenEntries();
+
return p_sub_set;
end if;
@@ -3970,7 +3970,9 @@
p_sub_provider, p_sub_receiver);
end if;
+ -- ----
-- Rewrite sl_listen table
+ -- ----
perform @NAMESPACE at .RebuildListenEntries();
return p_sub_set;
- Previous message: [Slony1-commit] By devrim: - Added RELEASE files to docs
- Next message: [Slony1-commit] By wieck: With the new watchdog behaviour, the macro's slon_retry() and
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list