Hi Here is an attempt at integrating my algorithm into slony1. I tried it on one of the nodes of my slony cluster, and it seems to generate correct listen entries, but haven't tested anything else yet.
The thing I'm most unsure about is if the logic regarding set-subscriptions is correct. At the moment, I ignore a possible sl_listen entry if there is a subscription with set-origin = li_origin, set-subscriber = li_receiver and set-provider != li_provider. Are there any other special cases to watch out for? The attached file contains two functions - A replacement fro RebuildListenEntries, and a helper calles ReachableFromNode. greetings, Florian Pflug
slony1_funcs.listenentries.test.sql
Description: Binary data
_______________________________________________ Slony1-general mailing list [email protected] http://gborg.postgresql.org/mailman/listinfo/slony1-general
