Updated on 2025-02-27 GMT+08:00

SHOW

Description

SHOW shows the current value of a GUC parameter.

Syntax

1
2
3
4
5
6
7
8
9
SHOW 
  { 
    [VARIABLES LIKE] configuration_parameter | 
    CURRENT_SCHEMA | 
    TIME ZONE | 
    TRANSACTION ISOLATION LEVEL | 
    SESSION AUTHORIZATION | 
    ALL 
  };

Parameters

See Parameters in "RESET."

Examples

1
2
3
4
5
6
7
8
-- Show the value of timezone.
openGauss=# SHOW timezone;

-- Show all parameters.
openGauss=# SHOW ALL;

-- Show all parameters whose names contain var.
openGauss=# SHOW VARIABLES LIKE var;

Helpful Links

SET and RESET