SLONIK_SET_DROP_TABLE(7)

SLONIK_SET_DROP_TABLE7

Remove a table from a slony-i replication set

Usage

FCSET DROP TABLE (options);F[0]

Overview

Drop a table from a replication set.

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(p_tab_id 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.

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.

Version information

This command was introduced in Slony-I 1.0.5

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

From slony1-2-doc 2.2.11-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.