Provided by: slony1-doc_1.2.15-1_all bug
 

NAME

        CLUSTER NAME - preamble - identifying Slony-I cluster
 

SYNOPSIS

        CLUSTER NAME = [ clustername;]
 

DESCRIPTION

        Must be the very first statement in every slonik script. It defines the
        namespace in which all Slony-I specific functions,  procedures,  tables
        and sequences are defined. The namespace name is built by prefixing the
        given string literal with an underscore. This namespace will be identi‐
        cal in all databases that participate in the same replication group.
 
        No  user objects are supposed to live in this namespace, and the names‐
        pace is not allowed to exist prior to adding a database to the replica‐
        tion system. Thus, if you add a new node using pg_dump -s on a database
        that is already in the cluster of replicated databases, you  will  need
        to drop the namespace via the SQL command DROP SCHEMA _testcluster CAS     
        CADE; .
 

EXAMPLE

             CLUSTER NAME = testcluster;
        This command was introduced in Slony-I 1.0
 
                                17 November 2008                CLUSTER NAME(7)