Documentation
 
 
 

MERGE SET

Name

MERGE SET --  Merge edb-async-replic replication sets together

Synopsis

MERGE SET (options);

Description

Merge a set of tables and sequences into another one. This function is a workaround for the problem that it is not possible to add tables/sequences to already-subscribed sets. One may create a temporary set, add the new objects to that, subscribe all nodes currently subscribed to the other set to this new one, and then merge the two together.

This request will fail if the two sets do not have exactly the same set of subscribers.

ID = ival

Unique ID of the set to contain the union of the two separate sets.

ADD ID = ival

Unique ID of the set whose objects should be transferred.

ORIGIN = ival

Current origin node for both sets.

Example

     MERGE SET ( ID = 2, 
     ADD ID = 9999,
     ORIGIN = 1 );
    
 
 ©2004-2007 EnterpriseDB All Rights Reserved