Oracle8i Replication Management API Reference
Release 2 (8.1.6)

A76958-01

Library

Product

Contents

Index

Prev Up Next

Replication Management API Reference, 62 of 179


ALTER_SITE_PRIORITY procedure

This procedure alters the priority level associated with a specified site. You must call this procedure from the master definition site.

See Also:

Oracle8i Replication for more information about conflict resolution methods. 

Syntax

DBMS_REPCAT.ALTER_SITE_PRIORITY (
   gname         IN   VARCHAR2,
   name          IN   VARCHAR2,
   old_priority  IN   NUMBER,
   new_priority  IN   NUMBER);

Parameters

Table 8-101 ALTER_SITE_PRIORITY Procedure Parameters
Parameter  Description 
gname
 

Replicated master group with which the site priority group is associated. 

name
 

Name of the site priority group whose member you are altering. 

old_priority
 

Current priority level of the site whose priority level you want to change. 

new_priority
 

New priority level for the site. A higher number indicates a higher priority level. 

Exceptions

Table 8-102 ALTER_SITE_PRIORITY Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

missingrepgroup
 

Specified replicated master group does not exist. 

missingpriority
 

Old priority level is not associated with any group members. 

duplicatepriority
 

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

missingvalue
 

Old value does not already exist. 

paramtype
 

New value has the incorrect datatype for the priority group. 

notquiesced
 

Replicated master group is not quiesced. 


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index