SET

Function

SET modifies a run-time parameter.

Precautions

Most run-time parameters can be modified by executing SET. Some parameters cannot be modified after a server or session starts.

Syntax

Parameter Description

Examples

Configure the search path of the tpcds schema.

1
SET search_path TO tpcds, public;

Set the date style to the traditional POSTGRES style (date placed before month).

1
SET datestyle TO postgres;

Helpful Links

RESET, SHOW