SHOW

显示系统配置参数的值。

概要

SHOW configuration_parameter

SHOW ALL

描述

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

参数

configuration_parameter

系统配置参数的名称。 ALL 显示所有配置参数的当前值。

示例

显示参数DateStyle的当前设置:

SHOW DateStyle;
DateStyle
-----------
ISO, MDY
(1 row)

显示参数geqo的当前设置:

SHOW geqo;
geqo
------
off
(1 row)

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

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...
(331 rows)

兼容性

SHOW是Greenplum数据库扩展。

另见

[SET](SET.html#topic1) , [RESET](RESET.html#topic1)

Parent topic: SQL Command Reference

当前内容版权归GreenPlum和翻译组所有,若有侵权请联系删除下架 修订时间: 2024-09-15 21:48:11

results matching ""

    No results matching ""