Christopher B. Browne's Home Page
cbbrowne@acm.org

SLONIK SET DROP TABLE

Name

SET DROP TABLE --  Remove a table from a Slony-I replication set

Synopsis

SET DROP TABLE (options);

Description

Drop a table from a replication set.

ORIGIN = ival

Origin node for the set. A future version of slonik might figure out this information by itself.

ID = ival

Unique ID of the table.

This uses setdroptable(integer).

Example

         SET DROP TABLE (
         ORIGIN = 1,
         ID = 20
         );
        

Locking Behaviour

This operation must acquire an exclusive lock on the table being dropped from replication in order to alter it to drop the replication trigger. On subscriber nodes, this also involves adding back any rules/triggers that have been hidden.

Version Information

This command was introduced in Slony-I 1.0.5

Google
Contact me at cbbrowne@acm.org