17.16. Customized Options

This feature was designed to allow parameters not normally known to LightDB to be added by add-on modules (such as procedural languages). This allows extension modules to be configured in the standard ways.

Custom options have two-part names: an extension name, then a dot, then the parameter name proper, much like qualified names in SQL. An example is plpgsql.variable_conflict.

Because custom options may need to be set in processes that have not loaded the relevant extension module, LightDB will accept a setting for any two-part parameter name. Such variables are treated as placeholders and have no function until the module that defines them is loaded. When an extension module is loaded, it will add its variable definitions, convert any placeholder values according to those definitions, and issue warnings for any unrecognized placeholders that begin with its extension name.

lightdb_oracle_type_date_to_oracle_date (bool)

Lightdb 24.1 introduces a new session-level GUC parameter. This parameter can be modified from the command line, in extensions. in oracle mode, If the value of this parameter is true, the parameters of functions and stored procedures will be converted to date type of oracle if they are of date type.

English|中文