one of the documented procedures in this installation of the ACS
ad_issue_deferred_dml   conn   args   why
What it does:
Issue deferred DML statements registered by ad_defer_dml.
Defined in: /web/philip/packages/acs-core/security-procs.tcl

Source code:

    global ad_conn
    if { [llength $ad_conn(deferred_dml)] > 0 } {
	set db [ns_db gethandle log]
	foreach item $ad_conn(deferred_dml) {
	    set sql [lindex $item 0]
	    set blobs [lindex $item 1]
	    if { [llength $blobs] == 0 } {
		# No blobs; just perform a plain old DML.
		ns_db dml $db $sql
	    } else {
		# Has blobs; use clob_dml.
		eval [concat [list ns_ora clob_dml $db $sql] $blobs]
	ns_db releasehandle $db

    return "filter_ok"