Shows the value of a run-time system configuration parameter.
SHOW <name>
SHOW ALL
SHOW
displays the current settings of Greenplum Database run-time system configuration parameters. You can set these parameters with the SET
statement, by editing the postgresql.conf
configuration file of the Greenplum Database coordinator, through the PGOPTIONS
environment variable (when using libpq or a libpq-based application), or through command-line flags when starting the Greenplum server.
The name of a run-time system configuration parameter.
Some parameters viewable by SHOW
are read-only — you can view their values but not set them:
The function current_setting()
produces equivalent output; see System Administration Functions in the PostgreSQL documentation. Also, the pg_settings system view produces the same information.
Show the current setting of the parameter DateStyle
:
SHOW DateStyle;
DateStyle
-----------
ISO, MDY
(1 row)
Show the current setting of the parameter row_security
:
SHOW row_security;
row_security
--------------
on
(1 row)
Show the current setting of all parameters:
SHOW ALL;
name | setting | description
-----------------+---------+----------------------------------------------------
application_name | psql | Sets the application name to be reported in sta...
...
xmlbinary | base64 | Sets how binary values are to be encoded in XML.
xmloption | content | Sets whether XML data in implicit parsing and s...
(473 rows)
The SHOW
command is a Greenplum Database extension.
Parent topic: SQL Commands