rs_get_errormode

Description

Returns native error configuration, which determines whether or not the native error is returned directly from the replicate server.

Examples

Example 1

Creates an rs_get_errormode function string for the oth_sql_class function-string class that returns a native error.

create function string rs_get_errormode
for oth_sql_class
output language 'select yes'

Example 2

Creates an rs_get_errormode function string for the oth_sql_class function-string class that does not returns a native error.

create function string rs_get_errormode
for oth_sql_class
output language 'select no'

Usage