Updated on 2024-06-03 GMT+08:00

DBE_PLDEBUGGER.error_end

If the server is suspended due to an error reported by the stored procedure, you can call error_end on the debug end to end the suspended process, end the debugging process, return the ended suspended process, and stop debugging, as described in Table 1. (This function is used only for suspension after an error is reported.)

Table 1 error_end return values

Name

Type

Description

funcoid

OUT oid

Function ID.

funcname

OUT text

Function name.

lineno

OUT integer

The next debugging line number (fixed value: 0).

query

OUT text

Ends the suspended process and stops debugging.