Overview
TheSET statement lets you set specific options while the SHOW statement helps you see the current values in Oxla.
Syntax
The syntax for these functions is as follows:- SET
- SHOW
For options that accept boolean values,
<value> can be either ON or OFF, which correspond to TRUE or FALSE respectivelyextra_float_digits: by default, Oxla displays a limited number of digits, but you can set how many extra digits are displayed after the decimal point in floating-point numbers by using this optionapplication_name: sets a custom name for the applicationtimezone: determines the time zone used for date and time functionsclient_min_messages: sets the message levels sent to the client (valid values areDEBUG5,DEBUG4,DEBUG3,DEBUG2,DEBUG1,LOG,NOTICE,WARNINGandERROR)search_path: defines namespaces at which Oxla looks for tablesenable_fast_math: enables mathematical optimizations that trade precision for speed by utilizing faster, less accurate mathematical functions
Examples
SET Statement
- Extra_float_digits
- Client_min_messages
- Enable_fast_math
To change the number of displayed digits for floating-point values, use the
SET statement in a following way:SHOW Statement
- Timezone
- Search_path
- Enable_fast_math
To display the current timezone setting, use the following query: