Note
This parameter is available starting with V1.4.
Description
enable_rich_error_msg specifies whether to add server address, time, and trace ID in client messages.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | Bool |
| Default value | False |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Examples
Disable adding server address, time, and trace ID in client messages.
obclient> ALTER SYSTEM SET enable_rich_error_msg = False;
References
Set SQL error messages to display debug information: ob_enable_rich_error_msg