RESET
将系统配置参数的值恢复为默认值。
概要
RESET configuration_parameter
RESET ALL
描述
RESET
将系统配置参数恢复为其默认值。
RESET
是SET configuration_parameter TO DEFAULT
的替代写法。
缺省值定义为该参数在当前会话中没有为其发出SET
时将具有的值。
该值的实际来源可能是已编译的默认值,主postgresql.conf
配置文件,命令行选项或每个数据库或每个用户的默认设置。
有关更多信息,请参见服务器配置参数。
参数
configuration_parameter
系统配置参数的名称。 有关详细信息,请参见服务器配置参数。
ALL 将所有可设置的配置参数重置为其默认值。
示例
将statement_mem
配置参数设置为其默认值:
RESET statement_mem;
兼容性
RESET
是Greenplum数据库扩展。
另见
[SET](SET.html#topic1)
Parent topic: SQL Command Reference