From: Pavan Deolasee Date: Mon, 18 Feb 2019 08:06:35 +0000 (+0530) Subject: Add documentation for new GUCs and add those to samples as well X-Git-Tag: XL_10_R1_1~3 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=e494ce508e21bb8efdef3404517d32064e72439d;p=postgres-xl.git Add documentation for new GUCs and add those to samples as well --- diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 4d5d7dff6d..68bc426100 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -8809,6 +8809,33 @@ LOG: CleanUpLock: deleting: lock(0xb7acd844) id(24688,24696,0,0,0,1) + + gtm_connect_timeout (integer) + + gtm_connect_timeout configuration parameter + + + + + Specifieis the timeout in seconds to wait for a successful connection + establishment with the GTM. + + + + + + gtm_comm_timeout (integer) + + gtm_comm_timeout configuration parameter + + + + + Specifieis the timeout in seconds to wait for a response from the GTM. + + + + xc_maintenance_mode (bool) diff --git a/doc/src/sgml/ref/gtm_proxy.sgml b/doc/src/sgml/ref/gtm_proxy.sgml index 6c706d8471..b676c520a5 100644 --- a/doc/src/sgml/ref/gtm_proxy.sgml +++ b/doc/src/sgml/ref/gtm_proxy.sgml @@ -269,6 +269,20 @@ + + comm_timeout (integer) + + comm_timeout configuration parameter + + + + + Specifies the timeout in seconds to wait for a response from the GTtimeout in seconds to wait for a response from the GTM. + The default value is 0 which means wait forever. + + + + diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index 8823fc76b6..9d8a35f683 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -678,6 +678,11 @@ #gtm_backup_barrier = off # Specify to backup gtm restart point for each barrier. +#gtm_connect_timeout = 60 # Timeout in seconds to wait for GTM connection + # establishment. 0 means wait forever. + +#gtm_comm_timeout = 0 # Timeout in seconds to wait for a response from + # the GTM. The default is 0, which means wait forever. #------------------------------------------------------------------------------ # CONFIG FILE INCLUDES diff --git a/src/gtm/proxy/gtm_proxy.conf.sample b/src/gtm/proxy/gtm_proxy.conf.sample index b29c4dea57..7fe71d185c 100644 --- a/src/gtm/proxy/gtm_proxy.conf.sample +++ b/src/gtm/proxy/gtm_proxy.conf.sample @@ -49,6 +49,9 @@ # (changes requires restart) #gtm_port = # Port number of the active GTM. # (changes requires restart) +#comm_timeout = 0 # Timeout in seconds to wait for a response + # from the GTM. The default is 0, which means + # wait forever. #------------------------------------------------------------------------------ # Behavior at GTM communication error