Name

DBMS_REPCAT_AUTH.GRANT_SURROGATE_REPCAT

Synopsis

GRANT_SURROGATE_REPCAT grants userid all privileges required to perform required replication activities on behalf of the SYS user at remote masters. Because the privileges granted to userid are relatively powerful, recipients of these grants should be limited to a single account that is used solely for this purpose (i.e., this account is never used interactively). It is most convenient to use the same account name for the surrogate SYS user in all master databases.

PROCEDURE DBMS_REPCAT_AUTH.GRANT_SURROGATE_REPCAT
    (userid IN VARCHAR2);

userid is the Oracle user ID for whom you are granting privileges.

There are no restrictions on calling GRANT_SURROGATE_REPCAT.

Exceptions

The GRANT_SURROGATE_REPCAT procedure may raise the exception ORA-01917 if the specified user does not exist.

Get Oracle Distributed Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.