SET variable { TO | = } { 'value' | DEFAULT }
-
SET TIME ZONE { 'timezone' | LOCAL };
- The possible variables and allowed values are:
+The possible variables and allowed values are:
- If an invalid time zone is specified, the time zone
- becomes GMT (on most systems anyway).
+If an invalid time zone is specified, the time zone
+becomes GMT (on most systems anyway).
+
- A frontend which uses libpq may be initialized by setting the PGTZ
- environment variable.
+A frontend which uses libpq may be initialized by setting the PGTZ
+environment variable.
+
- The second syntax shown above, allows one to set the timezone
- with a syntax similar to SQL92 SET TIME ZONE.
- The LOCAL keyword is just an alternate form
- of DEFAULT for SQL92 compatibility.
+The second syntax shown above, allows one to set the timezone
+with a syntax similar to SQL92 SET TIME ZONE.
+The LOCAL keyword is just an alternate form
+of DEFAULT for SQL92 compatibility.
-Equivalent to specifying SET GEQO=On
+Equivalent to specifying SET GEQO='on'
-Equivalent to specifying SET R_PLANS=Off.
+Equivalent to specifying SET R_PLANS='off'.
-R_PLANS
+KSQO
-Determines whether right-hand plan evaluation is allowed:
+Key Set Query Optimizer forces the query optimizer
+to optimize repetative OR clauses such as generated by
-enables right-hand evaluation of plans.
+enables this optimization.
-disables right-hand evaluation of plans.
+disables this optimization.
-Equivalent to specifying SET R_PLANS=Off.
+Equivalent to specifying SET KSQO='off'.
-Maximum number of rows to return for a query. The default is unlimited.
+Maximum number of rows to return for a query. The default is to allow
+an unlimited number of rows.
#
-Sets the number of rows returned by a query to unlimited.
+Sets the maximum number of rows returned by a query to be unlimited.
- By default, there is no limit to the number of rows
- returned by a query.
+By default, there is no limit to the number of rows
+returned by a query.