GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SLONIK_SET_MOVE_TABLE (7)

NAME

SET MOVE TABLE - Move a table from one Slony-I replication set to another

CONTENTS

Synopsis

SYNOPSIS

SET MOVE TABLE (options);

DESCRIPTION

Change the set a table belongs to. The current set and the new set must origin on the same node and subscribed by the same nodes.

Caution: Due to the way subscribing to new sets works make absolutely sure that the subscription of all nodes to the sets is completely processed before moving tables. Moving a table too early to a new set causes the subscriber to try and add the table already during the subscription process, which fails with a duplicate key error and breaks replication.
ORIGIN = ival
  Current origin of the set. A future version of slonik might figure out this information by itself.
ID = ival
  Unique ID of the table.
NEW SET = ival
  Unique ID of the set to which the table should be added.
This uses setmovetable(integer,integer).

EXAMPLE

SET MOVE TABLE (
    ORIGIN = 1,
    ID = 20,
    NEW SET = 3
);
   

LOCKING BEHAVIOUR

No application-visible locking should take place.

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

Search for    or go to Top of page |  Section 7 |  Main Index


SLONIK SET MOVE TABLE (7) 18 January 2015

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.