Change the set a sequence belongs to. The current set and the new set must originate 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 sequences. Moving a sequence too early to a new set causes the subscriber to try and add the sequence already during the subscription process, which fails with a duplicate key error and breaks replication.
Origin node for the set. A future version of slonik might figure out this information by itself.
Unique ID of the sequence.
Unique ID of the set to which the sequence should be moved.
This uses setmovesequence(integer, integer).
If this was useful, let others know by an Affero rating