Name
DBMS_REPCAT.CREATE_MASTER_REPGROUP
Synopsis
The CREATE_MASTER_REPGROUP procedure creates a new, empty, quiesced replication group at the master definition site. The calling site is the master definition site for the new group.
PROCEDURE DBMS_REPCAT.CREATE_MASTER_REPGROUP
(gname IN VARCHAR2,
group_comment IN VARCHAR2 := '',
master_comment IN VARCHAR2 := '',
qualifier IN VARCHAR2 := '');Parameters
Parameter Name | Description |
|---|---|
gname | Name of the new replication group |
group_comment | Comment for new replication group, visible in DBA_REPGROUP data dictionary view |
master_comment | Comment for the calling site, visible in DBA_REPSITES data dictionary view |
qualifier | For internal use |
Exceptions
Exception Name | Number | Description |
|---|---|---|
ddlfailure | –23318 | Unable to create REP$WHAT_AM_I package or package body. |
duplicaterepgroup | –23374 | Replication group gname already exists. |
duplicateschema | –23307 | Schema gname is already a replication group. |
missingrepgroup | –23373 | The gname was not specified correctly. |
norepoption | –23364 | Replication option not installed. |
dbnotcompatible | –23375 | The gname is not a schema name, and RDBMS is a pre-7.3 release. |
Restrictions
You must be connected to the replication administrator account (typically REPADMIN) to call CREATE_MASTER_REPGROUP.