> 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?
--
_______________________________________________
Slony1-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/slony1-general