Shows the value of a system configuration parameter.

Synopsis

  1. SHOW <configuration_parameter>
  2. SHOW ALL

Description

SHOW displays the current settings of Greenplum Database system configuration parameters. You can set these parameters with the SET statement, or by editing the postgresql.conf configuration file of the Greenplum Database master. Note that some parameters viewable by SHOW are read-only — their values can be viewed but not set. See the Greenplum Database Reference Guide for details.

Parameters

configuration_parameter

The name of a system configuration parameter.

ALL

Shows the current value of all configuration parameters.

Examples

Show the current setting of the parameter DateStyle:

  1. SHOW DateStyle;
  2. DateStyle
  3. -----------
  4. ISO, MDY
  5. (1 row)

Show the current setting of the parameter geqo:

  1. SHOW geqo;
  2. geqo
  3. ------
  4. off
  5. (1 row)

Show the current setting of all parameters:

  1. SHOW ALL;
  2. name | setting | description
  3. ------------------+---------+----------------------------------------------------
  4. application_name | psql | Sets the application name to be reported in sta...
  5. .
  6. .
  7. .
  8. xmlbinary | base64 | Sets how binary values are to be encoded in XML.
  9. xmloption | content | Sets whether XML data in implicit parsing and s...
  10. (331 rows)

Compatibility

SHOW is a Greenplum Database extension.

See Also

SET, RESET

Parent topic: SQL Commands