Oracle8i Replication Management API Reference
Release 2 (8.1.6)

Part Number A76958-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Replication Management API Reference, 104 of 179


REMOVE_MASTER_DATABASES procedure

This procedure removes one or more master databases from a replicated environment. This procedure regenerates the triggers and their associated packages at the remaining master sites. You must call this procedure from the master definition site.

Syntax

DBMS_REPCAT.REMOVE_MASTER_DATABASES (
   gname           IN   VARCHAR2,
   master_list     IN   VARCHAR2 |
   master_table    IN   DBMS_UTILITY.DBLINK_ARRAY);


Note:

This procedure is overloaded. The master_list and master_table parameters are mutually exclusive. 


Parameters

Table 8-188 REMOVE_MASTER_DATABASES Procedure Parameters
Parameter  Description 
gname
 

Name of the object group associated with the replicated environment. This prevents confusion if a master database is involved in more than one replicated environment. 

master_list
 

A comma-separated list of fully qualified master database names that you want to remove from the replicated environment. There must be no white space between names in the list. 

master_table
 

In place of a list, you can specify the database names in a PL/SQL table of type DBMS_UTILITY.DBLINK_ARRAY

Exceptions

Table 8-189 REMOVE_MASTER_DATABASES Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

nonmaster
 

At least one of the specified databases is not a master site. 

reconfigerror
 

One of the specified databases is the master definition site. 

commfailure
 

At least one remaining master site is not accessible. 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index