From 7dfab04a8aad7aa5066d2625a649d407ed6b7a5f Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Tue, 2 Sep 2014 16:06:58 +0900 Subject: Support ALTER SYSTEM RESET command. This patch allows us to execute ALTER SYSTEM RESET command to remove the configuration entry from postgresql.auto.conf. Vik Fearing, reviewed by Amit Kapila and me. --- doc/src/sgml/ref/alter_system.sgml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/alter_system.sgml b/doc/src/sgml/ref/alter_system.sgml index 23c30efc8f8..a6e32106e80 100644 --- a/doc/src/sgml/ref/alter_system.sgml +++ b/doc/src/sgml/ref/alter_system.sgml @@ -22,6 +22,9 @@ PostgreSQL documentation ALTER SYSTEM SET configuration_parameter { TO | = } { value | 'value' | DEFAULT } + +ALTER SYSTEM RESET configuration_parameter +ALTER SYSTEM RESET ALL @@ -30,10 +33,12 @@ ALTER SYSTEM SET configuration_parameter ALTER SYSTEM writes the configuration parameter - values to the postgresql.auto.conf file. With - DEFAULT, it removes a configuration entry from - postgresql.auto.conf file. The values will be - effective after reload of server configuration (SIGHUP) or in next + values to the postgresql.auto.conf file. + Setting the parameter to DEFAULT, or using the + RESET variant, removes the configuration entry from + postgresql.auto.conf file. Use RESET + ALL to clear all configuration entries. The values will + be effective after reload of server configuration (SIGHUP) or in next server start based on the type of configuration parameter modified. -- cgit v1.2.3