SYNOPSIS

UNSUBSCRIBE SET (options); \kx

DESCRIPTION

Stops the subscriber from replicating the set. The tables are opened up for full access by the client application on the former subscriber. The tables are not truncated or otherwise modified. All original triggers, rules and constraints are restored.

\*(T<ID = ival \*(T>

ID of the set to unsubscribe

\*(T<RECEIVER = ival \*(T>

Node ID of the (former) subscriber

EXAMPLE

\*(T<UNSUBSCRIBE SET (
   ID = 1,
   RECEIVER = 3
);
    \*(T>

LOCKING BEHAVIOUR

Exclusive locks on each replicated table will be taken out on the subscriber in order to drop replication triggers from the tables and restore other triggers/rules.

SLONIK EVENT CONFIRMATION BEHAVIOUR

Slonik waits for the command submitted to the previous event node to be confirmed on the specified event node before submitting this command.

DANGEROUS/UNINTUITIVE BEHAVIOUR

Resubscribing an unsubscribed set requires a complete fresh copy of data from the provider to be transferred since the tables have been subject to possible independent modifications.

VERSION INFORMATION

This command was introduced in Slony-I 1.0