Prompt Message Function

  • report_application_error

    Description: This function can be used to throw errors during PL execution.

    Return type: void

    Table 1 report_application_error parameter description

    Parameter

    Type

    Description

    Mandatory or Not

    log

    text

    Content of an error message.

    Yes

    code

    int4

    Error code corresponding to an error message. The value ranges from –20999 to –20000.

    No

Feedback
编组 3备份
    openGauss 2024-05-07 00:46:52
    cancel