Oracle8i Replication Management API Reference
Release 2 (8.1.6)

A76958-01

Library

Product

Contents

Index

Prev Up Next

Replication Management API Reference, 21 of 179


EXCLUDE_PUSH procedure

This function acquires an exclusive lock that prevents deferred transaction PUSH (either serial or parallel). This function performs a commit when acquiring the lock. The lock is acquired with RELEASE_ON_COMMIT => TRUE, so that pushing of the deferred transaction queue can resume after the next commit.

Syntax

DBMS_DEFER_SYS.EXCLUDE_PUSH (
   timeout   IN   INTEGER)
  RETURN INTEGER;

Parameters

Table 8-31 EXCLUDE_PUSH Function Parameters
Parameter  Description 
timeout
 

Timeout in seconds. If the lock cannot be acquired within this time period (either because of an error or because a PUSH is currently under way), then the call returns a value of 1. A timeout value of DBMS_LOCK.MAXWAIT waits indefinitely. 

Returns

E_PUSH
Table 8-32 EXCLUDE_PUSH Function Return Values
Value  Description  
0
 

Success, lock acquired.  

1
 

Timeout, no lock acquired.  

2
 

Deadlock, no lock acquired.  

4
 

Already own lock.  


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index