SHOW

显示系统配置参数的值。

概要

  1. SHOW configuration_parameter
  2. SHOW ALL

描述

SHOW显示Greenplum数据库系统配置参数的当前设置。 您可以使用SET语句或通过编辑Greenplum数据库master的postgresql.conf配置文件来设置这些参数。 请注意,SHOW可以查看的某些参数是只读的 - 可以查看但不能设置它们的值。 有关详细信息,请参见Greenplum数据库参考指南。

参数

configuration_parameter

系统配置参数的名称。

ALL

显示所有配置参数的当前值。

示例

显示参数DateStyle的当前设置:

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

显示参数geqo的当前设置:

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

显示所有参数的当前设置:

  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)

兼容性

SHOW是Greenplum数据库扩展。

另见

SET , RESET

Parent topic: SQL Command Reference