Add documentation for new GUCs and add those to samples as well
authorPavan Deolasee <[email protected]>
Mon, 18 Feb 2019 08:06:35 +0000 (13:36 +0530)
committerPavan Deolasee <[email protected]>
Mon, 18 Feb 2019 08:06:35 +0000 (13:36 +0530)
doc/src/sgml/config.sgml
doc/src/sgml/ref/gtm_proxy.sgml
src/backend/utils/misc/postgresql.conf.sample
src/gtm/proxy/gtm_proxy.conf.sample

index 4d5d7dff6d86434392b84a811cbb46d01cda0b37..68bc426100f72c799606f384388bf2dfd270babb 100644 (file)
@@ -8809,6 +8809,33 @@ LOG:  CleanUpLock: deleting: lock(0xb7acd844) id(24688,24696,0,0,0,1)
       </listitem>
      </varlistentry>
 
+     <varlistentry id="guc-gtm-connect-timeout" xreflabel="gtm_connect_timeout">
+      <term><varname>gtm_connect_timeout</varname> (<type>integer</type>)
+      <indexterm>
+       <primary><varname>gtm_connect_timeout</> configuration parameter</primary>
+      </indexterm>
+      </term>
+      <listitem>
+       <para>
+        Specifieis the timeout in seconds to wait for a successful connection
+        establishment with the GTM.
+       </para>
+      </listitem>
+     </varlistentry>
+
+     <varlistentry id="guc-gtm-comm-timeout" xreflabel="gtm_comm_timeout">
+      <term><varname>gtm_comm_timeout</varname> (<type>integer</type>)
+      <indexterm>
+       <primary><varname>gtm_comm_timeout</> configuration parameter</primary>
+      </indexterm>
+      </term>
+      <listitem>
+       <para>
+        Specifieis the timeout in seconds to wait for a response from the GTM.
+       </para>
+      </listitem>
+     </varlistentry>
+
      <varlistentry id="guc-xc-maintenance-mode" xreflabel="xc_maintenance_mode">
       <term><varname>xc_maintenance_mode</varname> (<type>bool</type>)
       <indexterm>
index 6c706d8471e9730a478c0619b319ee5d8debdf7c..b676c520a534dfd3a7950ebffb6f23c6b7eb1cb8 100644 (file)
     </listitem>
    </varlistentry>
 
+   <varlistentry id="gtm-proxy-opt-comm-timeout" xreflabel="gtm_proxy_opt_comm_timeout">
+    <term><varname>comm_timeout</varname> (<type>integer</type>)
+     <indexterm>
+      <primary><varname>comm_timeout</varname> configuration parameter</primary>
+     </indexterm>
+    </term>
+    <listitem>
+     <para>
+      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.
+     </para>
+    </listitem>
+   </varlistentry>
+
   </variablelist>
 
  </refsect1>
index 8823fc76b6b6757e64675332a7d8db6c8406f6af..9d8a35f683abefe953579f5aafe7e65c7aecd998 100644 (file)
 
 #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
index b29c4dea578a53a3c2fa04d7382da7fe99c48b8a..7fe71d185c9bf67964b67eff2b6f9a56c0a5b0ad 100644 (file)
@@ -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