Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t1Lji-00FrSt-4V for pgsql-odbc@arkaria.postgresql.org; Thu, 17 Oct 2024 08:19:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t1Ljg-001FP6-Ge for pgsql-odbc@arkaria.postgresql.org; Thu, 17 Oct 2024 08:19:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t1Ljf-001FOd-Vy for pgsql-odbc@lists.postgresql.org; Thu, 17 Oct 2024 08:19:56 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1t1Ljb-001KMF-9x for pgsql-odbc@lists.postgresql.org; Thu, 17 Oct 2024 08:19:54 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-43155afca99so7044005e9.1 for ; Thu, 17 Oct 2024 01:19:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denodo.com; s=google; t=1729153189; x=1729757989; darn=lists.postgresql.org; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=KwYW2sCzhZ9vdkwuAsyuRP4z6jaJJi4NhoPPYpwV7G0=; b=iC+LIzUu4Q+A7Wat//svc5I6FOQP9XBlUIF9IamfLjULaxh5ho4DNFGgQyDSppOOCK 0v6XyByr3hgIx7owHauy+jKDS/oLqsPMotXTcFTCMqGYCTLGaqbrZXdv1WhGBnRmMNtv Q4ntQAEIWDfJpvkWn5VTKAflcg5AHeXQ/JwF0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729153189; x=1729757989; h=in-reply-to:from:content-language:references:to:subject:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=KwYW2sCzhZ9vdkwuAsyuRP4z6jaJJi4NhoPPYpwV7G0=; b=wohuUe3aLoT2FBndOredf1yG7dZ6BUG3FarPHfD+cYssVTQSX0cltzkKmo0mzRBIM3 uJYFtl+JxeSUl1x/ORP67NFJQ0TY6I8Fd0LkUopBl6H9KKzwiJkZHf050QzCq2rNvl5z GGnf13dZlcat9rjL7dV9gBAWfqv0CgxkbWHdqDuN8dbLSvcTuis6x49bTGPpmrFeDlY9 M41dWp0wsV8hGyr72PMfeknvniSiU/tiDcQLItg/skJdKj8U+ATf7RseAFYOuh5/1Gnt 2KPMmYrsabt+cP+AzdFRON9uwdBBLE+rRU+w8Q8E8zkQM9RIVnL2UfZ1mqYNjDpkKtvR Mfqg== X-Gm-Message-State: AOJu0Yw7glQSsncVHda41f0k73otAOnPF3QhLjjIOldab49HCnRZ1UAU UiWKH5NWd0nwQvF2f6x54o7tDM86tHG2qAOMN3CE3FaEp07aZ4fJ3LhPfgk2Ae6KjxIDiMOuiIS U1w2Vd6C1YXecA/TwuLZ/kPEKyrzaGyqfbOsHKIqDcs0fAnP85ZXhcEYSEm4Y91q8+CiJoaiNWA Ng50hNE9sqkcLCk7+MS2nU/oO5WHrUbXd3BI8hk6hi6i7jtxQ= X-Google-Smtp-Source: AGHT+IFlkbVu3OOGw1dh1GxdBFxr1Vfj1KBJxRKyhaNJmXXTGJMgXvysIMHqDxwJIBh1RW4Ktj9dCA== X-Received: by 2002:a05:600c:500c:b0:431:57cf:f13d with SMTP id 5b1f17b1804b1-431587074ffmr12798175e9.3.1729153188472; Thu, 17 Oct 2024 01:19:48 -0700 (PDT) Received: from [192.168.0.156] ([77.27.73.20]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43158c3d9f2sm17926685e9.24.2024.10.17.01.19.47 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 17 Oct 2024 01:19:47 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------9bQeELnjq4VyN98cqaQr0g87" Message-ID: <6703f29a-1635-40bc-ab47-8d07e2979449@denodo.com> Date: Thu, 17 Oct 2024 10:19:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Connection / Login Timeout To: pgsql-odbc@lists.postgresql.org References: <13244b1a-197f-4bcd-9565-089b2060d7d5@planit.com.br> Content-Language: en-US From: =?UTF-8?Q?Jacobo_S=C3=A1nchez_L=C3=B3pez?= In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------9bQeELnjq4VyN98cqaQr0g87 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit That setting is on the ODBC API. You can set it using the SQLSetConnectAttr  API method (See https://learn.microsoft.com/en-us/sql/odbc/reference/syntax/sqlsetconnectattr-function) As an example Power-BI does set it to 15 seconds by default, see the following ODBC trace fragment: ENTER SQLSetConnectAttrW SQLHDBC 0x00000000060673E0 SQLINTEGER 103 SQLPOINTER 15 AFAIK there is no url setting to configure it in the connection string El 16/10/2024 a las 21:42, Dave Cramer escribió: > Looks like in PGAPI_SetConnectOption > > https://github.com/postgresql-interfaces/psqlodbc/blob/c362d981c05014fed245f8c77de5cc642bd7d750/options.c#L297C1-L297C23 > Dave Cramer > www.postgres.rocks > > > On Wed, 16 Oct 2024 at 11:59, Administrativo wrote: > > Hi, > > In the release documentation, version 08.02.0006 added support for > LOGIN_TIMEOUT , but how to configure this ? > > It's possible to configure  throught the connection string ? > > Thanks in advance. > > > Luiz > > > --------------9bQeELnjq4VyN98cqaQr0g87 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

That setting is on the ODBC API. You can set it using the SQLSetConnectAttr  API method (See https://learn.microsoft.com/en-us/sql/odbc/reference/syntax/sqlsetconnectattr-function)

As an example Power-BI does set it to 15 seconds by default, see the following ODBC trace fragment:

	ENTER SQLSetConnectAttrW 
        SQLHDBC             0x00000000060673E0
        SQLINTEGER                 103 <SQL_ATTR_LOGIN_TIMEOUT>
        SQLPOINTER                15

AFAIK there is no url setting to configure it in the connection string

El 16/10/2024 a las 21:42, Dave Cramer escribió:

On Wed, 16 Oct 2024 at 11:59, Administrativo <adm@planit.com.br> wrote:
Hi,

In the release documentation, version 08.02.0006 added support for
LOGIN_TIMEOUT , but how to configure this ?

It's possible to configure  throught the connection string ?

Thanks in advance.


Luiz



--------------9bQeELnjq4VyN98cqaQr0g87--