<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Timeout settings for PostgreSQL via ODBC-Connector Package in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Timeout-settings-for-PostgreSQL-via-ODBC-Connector-Package/ta-p/1714068</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Default timeout values can cause the PostgreSQL connection query to stop after 30 seconds. This article &lt;/SPAN&gt;&lt;SPAN&gt;explains how to set up timeouts using the PostgreSQL driver via the ODBC-Connector Package.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;LI-PRODUCT title="Qlik ODBC Connector Package" id="qlikODBC"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;The timeout attribute and timeout value need to be set up in the ODBC connection &lt;STRONG&gt;Advanced&amp;nbsp;&lt;/STRONG&gt;settings. See Fig 1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fig 1" style="width: 605px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55268i4C24FFD340ADDE16/image-size/large?v=v2&amp;amp;px=999" role="button" title="postgresql timeout odbc.png" alt="Fig 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Fig 1&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Name: This is the attribute&lt;BR /&gt;Value: This is the timeout value. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Example:&amp;nbsp;Name = "QT" and Value = "-1" will result that the QueryTimeout (QT) does not time out at all.&amp;nbsp;Additional timeout attributes can be combined and added as well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The following timeouts are available:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;&lt;STRONG&gt;Load Balance Timeout&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Attribute&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;LoadBalanceTimeout (LBT)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Purpose&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Specifies the number of seconds to keep inactive connections open in a connection pool. An&lt;BR /&gt;inactive connection is a database session that is not associated with an ODBC connection handle,&lt;BR /&gt;that is, a connection in the pool that is not in use by an application.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;0 | x&lt;BR /&gt;where:&lt;BR /&gt;x&lt;BR /&gt;is a positive integer that specifies a number of seconds.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to 0, inactive connections are kept open.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;DataDirect Connect® Series for ODBC: User's Guide:Version 7.1.2 413&lt;/STRONG&gt;&lt;BR /&gt;If set to x, inactive connections are closed after the specified number of seconds passes.&lt;BR /&gt;&lt;STRONG&gt;Notes&lt;/STRONG&gt;&lt;BR /&gt;• The Min Pool Size option may cause some connections to ignore this value.&lt;BR /&gt;• This connection option can affect performance.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;Login Timeout&lt;/STRONG&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Attribute&amp;nbsp;&lt;/STRONG&gt;LoginTimeout (LT)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The number of seconds the driver waits for a connection to be established before returning control&lt;BR /&gt;to the application and generating a timeout error.To override the value that is set by this connection&lt;BR /&gt;option for an individual connection, set a different value in the SQL_ATTR_LOGIN_TIMEOUT&lt;BR /&gt;connection attribute using the SQLSetConnectAttr() function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;-1 | 0 | &lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;where:&lt;BR /&gt;&lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;is a positive integer that represents a number of seconds.&lt;BR /&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to -1, the connection request does not time out. The driver silently ignores the&lt;BR /&gt;SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;If set to 0, the connection request does not time out, but the driver responds to the&lt;BR /&gt;SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;If set to x, the connection request times out after the specified number of seconds unless the&lt;BR /&gt;application overrides this setting with the SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;15&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;&lt;STRONG&gt;Query Timeout&lt;/STRONG&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Attribute&amp;nbsp;&lt;/STRONG&gt;QueryTimeout (QT)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The number of seconds for the default query timeout for all statements that are created by a&lt;BR /&gt;connection. To override the value set by this connection option for an individual statement, set a&lt;BR /&gt;different value in the SQL_ATTR_QUERY_TIMEOUT statement attribute on the SQLSetStmtAttr()&lt;BR /&gt;function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;-1 | 0 | &lt;I&gt;x&lt;/I&gt; &lt;STRONG&gt;Load Balance Timeout&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Attribute&lt;/STRONG&gt;&lt;BR /&gt;LoadBalanceTimeout (LBT)&lt;BR /&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;BR /&gt;Specifies the number of seconds to keep inactive connections open in a connection pool. An&lt;BR /&gt;inactive connection is a database session that is not associated with an ODBC connection handle,&lt;BR /&gt;that is, a connection in the pool that is not in use by an application.&lt;BR /&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;0 | x&lt;BR /&gt;where:&lt;BR /&gt;x&lt;BR /&gt;is a positive integer that specifies a number of seconds.&lt;BR /&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to 0, inactive connections are kept open.&lt;BR /&gt;&lt;STRONG&gt;DataDirect Connect® Series for ODBC: User's Guide:Version 7.1.2 413&lt;/STRONG&gt;&lt;BR /&gt;If set to x, inactive connections are closed after the specified number of seconds passes.&lt;BR /&gt;&lt;STRONG&gt;Notes&lt;/STRONG&gt;&lt;BR /&gt;• The Min Pool Size option may cause some connections to ignore this value.&lt;BR /&gt;• This connection option can affect performance.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Login Timeout&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Attribute&amp;nbsp;&lt;/STRONG&gt;LoginTimeout (LT)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The number of seconds the driver waits for a connection to be established before returning control&lt;BR /&gt;to the application and generating a timeout error.To override the value that is set by this connection&lt;BR /&gt;option for an individual connection, set a different value in the SQL_ATTR_LOGIN_TIMEOUT&lt;BR /&gt;connection attribute using the SQLSetConnectAttr() function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;-1 | 0 | &lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;where:&lt;BR /&gt;&lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;is a positive integer that represents a number of seconds.&lt;BR /&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to -1, the connection request does not time out. The driver silently ignores the&lt;BR /&gt;SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;If set to 0, the connection request does not time out, but the driver responds to the&lt;BR /&gt;SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;If set to x, the connection request times out after the specified number of seconds unless the&lt;BR /&gt;application overrides this setting with the SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;15&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Query Timeout&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Attribute&amp;nbsp;&lt;/STRONG&gt;QueryTimeout (QT)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The number of seconds for the default query timeout for all statements that are created by a&lt;BR /&gt;connection. To override the value set by this connection option for an individual statement, set a&lt;BR /&gt;different value in the SQL_ATTR_QUERY_TIMEOUT statement attribute on the SQLSetStmtAttr()&lt;BR /&gt;function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;-1 | 0 | &lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;where:&lt;BR /&gt;&lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;&lt;STRONG&gt;DataDirect Connect® Series for ODBC: User's Guide:Version 7.1.2 419&lt;/STRONG&gt;&lt;BR /&gt;is a positive integer that specifies a number of seconds.&lt;BR /&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to -1, the query does not time out. The driver silently ignores the&lt;BR /&gt;SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;If set to 0, the query does not time out, but the driver responds to the&lt;BR /&gt;SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;If set to &lt;I&gt;x&lt;/I&gt;, all queries time out after the specified number of seconds unless the application overrides&lt;BR /&gt;this value by setting the SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;0&lt;BR /&gt;where:&lt;BR /&gt;&lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;&lt;STRONG&gt;DataDirect Connect® Series for ODBC: User's Guide:Version 7.1.2 419&lt;/STRONG&gt;&lt;BR /&gt;is a positive integer that specifies a number of seconds.&lt;BR /&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to -1, the query does not time out. The driver silently ignores the&lt;BR /&gt;SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;If set to 0, the query does not time out, but the driver responds to the&lt;BR /&gt;SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;If set to &lt;I&gt;x&lt;/I&gt;, all queries time out after the specified number of seconds unless the application overrides&lt;BR /&gt;this value by setting the SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;0&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2026 06:10:27 GMT</pubDate>
    <dc:creator>Sonja_Bauernfeind</dc:creator>
    <dc:date>2026-03-19T06:10:27Z</dc:date>
    <item>
      <title>Timeout settings for PostgreSQL via ODBC-Connector Package</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Timeout-settings-for-PostgreSQL-via-ODBC-Connector-Package/ta-p/1714068</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Default timeout values can cause the PostgreSQL connection query to stop after 30 seconds. This article &lt;/SPAN&gt;&lt;SPAN&gt;explains how to set up timeouts using the PostgreSQL driver via the ODBC-Connector Package.&lt;/SPAN&gt;&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;SPAN&gt;&lt;LI-PRODUCT title="Qlik ODBC Connector Package" id="qlikODBC"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;BR /&gt;&lt;LI-PRODUCT title="QlikView" id="qlikView"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;SPAN&gt;The timeout attribute and timeout value need to be set up in the ODBC connection &lt;STRONG&gt;Advanced&amp;nbsp;&lt;/STRONG&gt;settings. See Fig 1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Fig 1" style="width: 605px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/55268i4C24FFD340ADDE16/image-size/large?v=v2&amp;amp;px=999" role="button" title="postgresql timeout odbc.png" alt="Fig 1" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Fig 1&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Name: This is the attribute&lt;BR /&gt;Value: This is the timeout value. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Example:&amp;nbsp;Name = "QT" and Value = "-1" will result that the QueryTimeout (QT) does not time out at all.&amp;nbsp;Additional timeout attributes can be combined and added as well.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The following timeouts are available:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;&lt;STRONG&gt;Load Balance Timeout&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Attribute&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;LoadBalanceTimeout (LBT)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Purpose&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Specifies the number of seconds to keep inactive connections open in a connection pool. An&lt;BR /&gt;inactive connection is a database session that is not associated with an ODBC connection handle,&lt;BR /&gt;that is, a connection in the pool that is not in use by an application.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;0 | x&lt;BR /&gt;where:&lt;BR /&gt;x&lt;BR /&gt;is a positive integer that specifies a number of seconds.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to 0, inactive connections are kept open.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;DataDirect Connect® Series for ODBC: User's Guide:Version 7.1.2 413&lt;/STRONG&gt;&lt;BR /&gt;If set to x, inactive connections are closed after the specified number of seconds passes.&lt;BR /&gt;&lt;STRONG&gt;Notes&lt;/STRONG&gt;&lt;BR /&gt;• The Min Pool Size option may cause some connections to ignore this value.&lt;BR /&gt;• This connection option can affect performance.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;Login Timeout&lt;/STRONG&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Attribute&amp;nbsp;&lt;/STRONG&gt;LoginTimeout (LT)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The number of seconds the driver waits for a connection to be established before returning control&lt;BR /&gt;to the application and generating a timeout error.To override the value that is set by this connection&lt;BR /&gt;option for an individual connection, set a different value in the SQL_ATTR_LOGIN_TIMEOUT&lt;BR /&gt;connection attribute using the SQLSetConnectAttr() function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;-1 | 0 | &lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;where:&lt;BR /&gt;&lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;is a positive integer that represents a number of seconds.&lt;BR /&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to -1, the connection request does not time out. The driver silently ignores the&lt;BR /&gt;SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;If set to 0, the connection request does not time out, but the driver responds to the&lt;BR /&gt;SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;If set to x, the connection request times out after the specified number of seconds unless the&lt;BR /&gt;application overrides this setting with the SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;15&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;U&gt;&lt;STRONG&gt;Query Timeout&lt;/STRONG&gt;&lt;/U&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Attribute&amp;nbsp;&lt;/STRONG&gt;QueryTimeout (QT)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The number of seconds for the default query timeout for all statements that are created by a&lt;BR /&gt;connection. To override the value set by this connection option for an individual statement, set a&lt;BR /&gt;different value in the SQL_ATTR_QUERY_TIMEOUT statement attribute on the SQLSetStmtAttr()&lt;BR /&gt;function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;-1 | 0 | &lt;I&gt;x&lt;/I&gt; &lt;STRONG&gt;Load Balance Timeout&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Attribute&lt;/STRONG&gt;&lt;BR /&gt;LoadBalanceTimeout (LBT)&lt;BR /&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;BR /&gt;Specifies the number of seconds to keep inactive connections open in a connection pool. An&lt;BR /&gt;inactive connection is a database session that is not associated with an ODBC connection handle,&lt;BR /&gt;that is, a connection in the pool that is not in use by an application.&lt;BR /&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;0 | x&lt;BR /&gt;where:&lt;BR /&gt;x&lt;BR /&gt;is a positive integer that specifies a number of seconds.&lt;BR /&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to 0, inactive connections are kept open.&lt;BR /&gt;&lt;STRONG&gt;DataDirect Connect® Series for ODBC: User's Guide:Version 7.1.2 413&lt;/STRONG&gt;&lt;BR /&gt;If set to x, inactive connections are closed after the specified number of seconds passes.&lt;BR /&gt;&lt;STRONG&gt;Notes&lt;/STRONG&gt;&lt;BR /&gt;• The Min Pool Size option may cause some connections to ignore this value.&lt;BR /&gt;• This connection option can affect performance.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Login Timeout&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Attribute&amp;nbsp;&lt;/STRONG&gt;LoginTimeout (LT)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The number of seconds the driver waits for a connection to be established before returning control&lt;BR /&gt;to the application and generating a timeout error.To override the value that is set by this connection&lt;BR /&gt;option for an individual connection, set a different value in the SQL_ATTR_LOGIN_TIMEOUT&lt;BR /&gt;connection attribute using the SQLSetConnectAttr() function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;-1 | 0 | &lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;where:&lt;BR /&gt;&lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;is a positive integer that represents a number of seconds.&lt;BR /&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to -1, the connection request does not time out. The driver silently ignores the&lt;BR /&gt;SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;If set to 0, the connection request does not time out, but the driver responds to the&lt;BR /&gt;SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;If set to x, the connection request times out after the specified number of seconds unless the&lt;BR /&gt;application overrides this setting with the SQL_ATTR_LOGIN_TIMEOUT attribute.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;15&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Query Timeout&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Attribute&amp;nbsp;&lt;/STRONG&gt;QueryTimeout (QT)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Purpose&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The number of seconds for the default query timeout for all statements that are created by a&lt;BR /&gt;connection. To override the value set by this connection option for an individual statement, set a&lt;BR /&gt;different value in the SQL_ATTR_QUERY_TIMEOUT statement attribute on the SQLSetStmtAttr()&lt;BR /&gt;function.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Valid Values&lt;/STRONG&gt;&lt;BR /&gt;-1 | 0 | &lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;where:&lt;BR /&gt;&lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;&lt;STRONG&gt;DataDirect Connect® Series for ODBC: User's Guide:Version 7.1.2 419&lt;/STRONG&gt;&lt;BR /&gt;is a positive integer that specifies a number of seconds.&lt;BR /&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to -1, the query does not time out. The driver silently ignores the&lt;BR /&gt;SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;If set to 0, the query does not time out, but the driver responds to the&lt;BR /&gt;SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;If set to &lt;I&gt;x&lt;/I&gt;, all queries time out after the specified number of seconds unless the application overrides&lt;BR /&gt;this value by setting the SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;0&lt;BR /&gt;where:&lt;BR /&gt;&lt;I&gt;x&lt;/I&gt;&lt;BR /&gt;&lt;STRONG&gt;DataDirect Connect® Series for ODBC: User's Guide:Version 7.1.2 419&lt;/STRONG&gt;&lt;BR /&gt;is a positive integer that specifies a number of seconds.&lt;BR /&gt;&lt;STRONG&gt;Behavior&lt;/STRONG&gt;&lt;BR /&gt;If set to -1, the query does not time out. The driver silently ignores the&lt;BR /&gt;SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;If set to 0, the query does not time out, but the driver responds to the&lt;BR /&gt;SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;If set to &lt;I&gt;x&lt;/I&gt;, all queries time out after the specified number of seconds unless the application overrides&lt;BR /&gt;this value by setting the SQL_ATTR_QUERY_TIMEOUT attribute.&lt;BR /&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;BR /&gt;0&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2026 06:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Timeout-settings-for-PostgreSQL-via-ODBC-Connector-Package/ta-p/1714068</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2026-03-19T06:10:27Z</dc:date>
    </item>
  </channel>
</rss>

