Oracle DBMS_TG_DBG
Version 26ai

General Information
Library Note Morgan's Library Page Header
The best Oracle News for FY2026

Oracle Database 26ai will be available on generic Linux platforms in January and soon on AIX and Windows
Purpose Transaction Guard application continuity debugging. Enables an application to determine the outcome of a transaction.
AUTHID DEFINER
Constants
Name Data Type Value
TG_FAILPOINT_PRE_COMMIT NUMBER(2) 1
TG_FAILPOINT_POST_COMMIT NUMBER(2) 2
TG_FAILPOINT_FORCE_OUTCOME NUMBER(2) 4
Dependencies
DBMS_TG_DBG_LIB    
Documented No
First Available 12.2
Security Model Owned by SYS with no privileges granted.
Source {ORACLE_HOME}/rdbms/admin/dbmsappcont.sql
Subprograms
 
CLEAR_FAILPOINT
Clear all failpoints dbms_tg_dbg.clear_failpoint;
exec dbms_tg_dbg.clear_failpoint;

PL/SQL procedure successfully completed.
 
SET_FAILPOINT
Set a Transaction Guard fail point dbms_tg_dbg.set_failpoint(
failpoint IN NUMBER,
sid       IN NUMBER DEFAULT NULL,
serial    IN NUMBER DEFAULT NULL);
exec dbms_tg_dbg.set_failpoint(dbms_tg_dbg.tg_failpoint_post_commit);

PL/SQL procedure successfully completed.
 
SET_SESSION_DRAINABLE
Sets the current session as drainable dbms_tg_dbg.set_session_drainable;
exec dbms_tg_dbg.set_session_drainable;

PL/SQL procedure successfully completed.

Related Topics
Built-in Functions
Built-in Packages
RAC
Transaction Guard
What's New In 21c
What's New In 26ai

Morgan's Library Page Footer
This site is maintained by Daniel Morgan. Last Updated: This site is protected by copyright and trademark laws under U.S. and International law. © 1998-2026 Daniel A. Morgan All Rights Reserved