Tue Mar 7 12:13:42 PST 2006
- Previous message: [Slony1-general] Exuberant Subscriber Table Locking at Subscribe Time
- Next message: [Slony1-general] Exuberant Subscriber Table Locking at Subscribe Time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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?
--
- Previous message: [Slony1-general] Exuberant Subscriber Table Locking at Subscribe Time
- Next message: [Slony1-general] Exuberant Subscriber Table Locking at Subscribe Time
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list