DBE_PLDEBUGGER.turn_on
This function is used to mark a stored procedure as debuggable, as described in Table 1. After turn_on is executed, the server can execute the stored procedure for debugging. You need to manually obtain the OID of the stored procedure based on the PG_PROC system catalog and transfer it to the function. After turn_on is executed, the execution of the stored procedure in the current session is hung before the first SQL statement to wait for the debugging instruction from the debug end. This setting is cleared by default after the session is disconnected. Currently, stored procedures and functions with autonomous transactions enabled cannot be debugged. After turn_on is executed, the number of stored procedures cannot exceed 100.
The function prototype is as follows:
1 2 |
DBE_PLDEBUGGER.turn_on(Oid) RETURN Record; |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot