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, 56 of 179


ADD_SITE_PRIORITY_SITE procedure

This procedure adds a new site to a site priority group. You must call this procedure from the master definition site.

See Also:

Oracle8i Replication for more information about conflict resolution methods. 

Syntax

DBMS_REPCAT.ADD_SITE_PRIORITY_SITE (
   gname          IN   VARCHAR2, 
   name           IN   VARCHAR2
   site           IN   VARCHAR2,
   priority       IN   NUMBER);

Parameters

Table 8-88 ADD_SITE_PRIORITY_SITE Procedure Parameters
Parameter  Description 
gname
 

Replicated master group for which you are adding a site to a group. 

name
 

Name of the site priority group to which you are adding a member. 

site
 

Global database name of the site that you are adding. 

priority
 

Priority level of the site that you are adding. A higher number indicates a higher priority level. 

Exceptions

Table 8-89 ADD_SITE_PRIORITY_SITE Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

missingrepgroup
 

Specified replicated master group does not exist. 

missingpriority
 

Specified site priority group does not exist. 

duplicatepriority
 

Specified priority level already exists for another site in the group. 

duplicatevalue
 

Specified site already exists in the site priority group. 

notquiesced
 

Replicated master group is not quiesced. 


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