|Slony-I 1.2.23 Documentation|
|Prev||Fast Backward||Fast Forward||Next|
SLONIK SET MOVE TABLE
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.
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 schemadocsetmovetable( integer, integer ).