SET_DROP_TABLE(7)

SET_DROP_TABLE7

Remove a table from a slony-i replication set

Usage

SET DROP TABLE (options);

Overview

Drop a table from a replication set.

Note that this action will not drop a candidate primary key created using TABLE ADD KEY(7).

FCORIGIN = ival F[0]

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

FCID = ival F[0]

Unique ID of the table.

This uses “schemadocsetdroptable( integer )” [not available as a man page].

Examples

FC     SET DROP TABLE (
     ORIGIN = 1,
     ID = 20
     );
    F[0]

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

Releases

2 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0

From slony1-doc 1.2.15-1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.