Oracle8i Replication Management API Reference
Release 2 (8.1.6)

A76958-01

Library

Product

Contents

Index

Prev Up Next

Replication Management API Reference, 55 of 179


ADD_PRIORITY_datatype procedure

This procedure adds a member to a priority group. You must call this procedure from the master definition site. The procedure that you must call is determined by the datatype of your priority column. You must call this procedure once for each of the possible values of the priority column.

See Also:

Oracle8i Replication for more information about conflict resolution methods. 

Syntax

DBMS_REPCAT.ADD_PRIORITY_datatype (
   gname              IN   VARCHAR2, 
   pgroup             IN   VARCHAR2, 
   value              IN   datatype, 
   priority           IN   NUMBER);

where datatype:

{ NUMBER
| VARCHAR2
| CHAR
| DATE
| RAW
| NCHAR
| NVARCHAR2 }

Parameters

Table 8-86 ADD_PRIORITY_datatype Procedure Parameters
Parameter  Description 
gname
 

Replicated master group for which you are creating a priority group. 

pgroup
 

Name of the priority group. 

value
 

Value of the priority group member. This is one of the possible values of the associated priority column of a table using this priority group. 

priority
 

Priority of this value. The higher the number, the higher the priority. 

Exceptions

Table 8-87 ADD_PRIORITY_datatype Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

duplicatevalue
 

Specified value already exists in the priority group. 

duplicatepriority
 

Specified priority already exists in the priority group. 

missingrepgroup
 

Specified replicated master group does not exist. 

missingprioritygroup
 

Specified priority group does not exist. 

typefailure
 

Specified value has the incorrect datatype for the priority group. 

notquiesced
 

Specified replicated master group is not quiesced. 


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index