X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id BDCE530EA0C for ; Fri, 13 Jun 2003 07:13:21 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 74362-01 for ; Fri, 13 Jun 2003 04:13:10 -0300 (ADT) Received: from mail01.ucr.com.hk (unknown [210.177.214.194]) by svr1.postgresql.org (Postfix) with ESMTP id 0B45830EA0B for ; Fri, 13 Jun 2003 04:13:07 -0300 (ADT) Received: from frankie (machine1-101 [192.168.1.101]) by mail01.ucr.com.hk (8.11.6/8.11.6) with SMTP id h5D7DUf24373 for ; Fri, 13 Jun 2003 15:13:32 +0800 Message-ID: <001901c3317b$6f5362a0$6501a8c0@rnd.ucr.com.hk> From: "Frankie Lam" To: Subject: Connect Timeout Does Not Work Date: Fri, 13 Jun 2003 15:14:29 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C331BE.7C450070" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Status: No, hits=1.3 tagged_above=0.0 required=5.0 tests=HTML_30_40, HTML_FONT_FACE_ODD X-Spam-Level: * X-Archive-Number: 200306/26 X-Sequence-Number: 3000 This is a multi-part message in MIME format. ------=_NextPart_000_0016_01C331BE.7C450070 Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: quoted-printable Hi all, I've tried to set the Connect Timeout in DSN string and in VB6(ADO), but fi= nd it is not used at all. My connection string is as follow: Provider=3DMSDASQL.1;Connect Timeout=3D5;Extended Properties=3D"DRIVER=3D{P= ostgreSQL};DATABASE=3Ducms;SERVER=3D192.168.1.50;PORT=3D5432;UID=3Dpostgres= ;PWD=3D;ReadOnly=3D0;Protocol=3D6.4;FakeOidIndex=3D0;ShowOidColumn=3D0;RowV= ersioning=3D0;ShowSystemTables=3D0;ConnSettings=3Dset+client%5fencoding+to+= %27SQL%5fASCII%27;Fetch=3D100;Socket=3D4096;UnknownSizes=3D0;MaxVarcharSize= =3D254;MaxLongVarcharSize=3D8190;Debug=3D0;CommLog=3D0;Optimizer=3D1;Ksqo= =3D1;UseDeclareFetch=3D0;TextAsLongVarchar=3D1;UnknownsAsLongVarchar=3D0;Bo= olsAsChar=3D1;Parse=3D0;CancelAsFreeStmt=3D0;ExtraSysTablePrefixes=3Ddd_;LF= Conversion=3D1;UpdatableCursors=3D1;DisallowPremature=3D0;TrueIsMinus1=3D0;= BI=3D0" My ODBC Driver is V07.03.0100=20 Why? Has I made something wrong? Any pointers appreciated. Regards, Frankie Lam ------=_NextPart_000_0016_01C331BE.7C450070 Content-Type: text/html; charset="big5" Content-Transfer-Encoding: quoted-printable
Hi all,
 
I've tried to set the Connect Timeout in= DSN=20 string and in VB6(ADO), but find it is not used at all.
 
My connection string is as follow:
 
Provider=3DMSDASQL.1;Connect=20 Timeout=3D5;Extended=20 Properties=3D"DRIVER=3D{PostgreSQL};DATABASE=3Ducms;SERVER=3D192.168.1.50;P= ORT=3D5432;UID=3Dpostgres;PWD=3D;ReadOnly=3D0;Protocol=3D6.4;FakeOidIndex= =3D0;ShowOidColumn=3D0;RowVersioning=3D0;ShowSystemTables=3D0;ConnSettings= =3Dset+client%5fencoding+to+%27SQL%5fASCII%27;Fetch=3D100;Socket=3D4096;Unk= nownSizes=3D0;MaxVarcharSize=3D254;MaxLongVarcharSize=3D8190;Debug=3D0;Comm= Log=3D0;Optimizer=3D1;Ksqo=3D1;UseDeclareFetch=3D0;TextAsLongVarchar=3D1;Un= knownsAsLongVarchar=3D0;BoolsAsChar=3D1;Parse=3D0;CancelAsFreeStmt=3D0;Extr= aSysTablePrefixes=3Ddd_;LFConversion=3D1;UpdatableCursors=3D1;DisallowPrema= ture=3D0;TrueIsMinus1=3D0;BI=3D0"
 
My ODBC Driver is V07.03.0100=20
 
Why? Has I made something wrong? Any pointers=20 appreciated.
 
Regards,
Frankie=20 Lam
------=_NextPart_000_0016_01C331BE.7C450070--