This is an automated email from the ASF dual-hosted git repository.

ztao1987 pushed a commit to branch ztao
in repository https://gitbox.apache.org/repos/asf/hawq.git

commit aedf40f5d68ccc7643b217fac768a3919028431c
Author: ztao1987 <zhenglin.ta...@gmail.com>
AuthorDate: Thu Dec 9 14:24:27 2021 +0800

    HAWQ-1821. remove GUC_NEW_DISP for statement_timeout and 
gp_vmem_idle_resource_timeout
---
 src/backend/utils/misc/guc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index d1bb6c1..4bb606b 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -5269,7 +5269,7 @@ static struct config_int ConfigureNamesInt[] =
                {"statement_timeout", PGC_USERSET, CLIENT_CONN_STATEMENT,
                        gettext_noop("Sets the maximum allowed duration (in 
milliseconds) of any statement."),
                        gettext_noop("A value of 0 turns off the timeout."),
-                       GUC_UNIT_MS | GUC_GPDB_ADDOPT | GUC_NEW_DISP
+                       GUC_UNIT_MS | GUC_GPDB_ADDOPT
                },
                &StatementTimeout,
                0, 0, INT_MAX, NULL, NULL
@@ -5279,7 +5279,7 @@ static struct config_int ConfigureNamesInt[] =
                {"gp_vmem_idle_resource_timeout", PGC_USERSET, 
CLIENT_CONN_OTHER,
                        gettext_noop("Sets the time a session can be idle (in 
milliseconds) before we release gangs on the segment DBs to free resources."),
                        gettext_noop("A value of 0 means closing idle gangs at 
once"),
-                       GUC_UNIT_MS | GUC_GPDB_ADDOPT | GUC_NEW_DISP
+                       GUC_UNIT_MS | GUC_GPDB_ADDOPT
                },
                &IdleSessionGangTimeout,
 #ifdef USE_ASSERT_CHECKING

Reply via email to