Rod Taylor pg
Tue Mar 7 12:13:42 PST 2006
> Thus, if the option, oh, call it "subscriber_lock", which defaults to 1,
> is set to 0, then some if clauses won't be invoked:
> 
> if (subscriber_lock) {
>    lock_table(n);
> }
> 
> if (subscriber_lock) {
>   try_to_truncate_table(n);
> } else {
>   just_delete_from(n);
> }
> 
> Does that seem like a good idea?

If you cannot get a lock on the subscriber how are you going to add the
triggers for disallowing modifications?
-- 




More information about the Slony1-general mailing list