X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CF4ED3A636E for ; Fri, 10 Dec 2004 18:08:58 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 71203-05 for ; Fri, 10 Dec 2004 18:07:19 +0000 (GMT) Received: from web21428.mail.yahoo.com (web21428.mail.yahoo.com [216.136.232.47]) by svr1.postgresql.org (Postfix) with SMTP id BC08E3A636B for ; Fri, 10 Dec 2004 18:06:09 +0000 (GMT) Received: (qmail 94271 invoked by uid 60001); 10 Dec 2004 18:06:19 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=RQcjX/YZn1gHQXFs7PrIqS6H0WyhshboFL6ySzScPe77pWUrRu6IKJtGPI/ttCRcRrD93DduD76C/QKxj6fkQJD1+ogeA54DHtv6bkoHrj4ufFOdBuF7yHWBXJB6deS8PkYyOoY0pOGa9g4sqs2jsYzVJQ+qlJEwF8FKNtMzLEk= ; Message-ID: <20041210180619.94269.qmail@web21428.mail.yahoo.com> Received: from [128.105.116.102] by web21428.mail.yahoo.com via HTTP; Fri, 10 Dec 2004 10:06:19 PST Date: Fri, 10 Dec 2004 10:06:19 -0800 (PST) From: joy chen Subject: question about timeout attributes To: pgsql-odbc@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.374 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200412/30 X-Sequence-Number: 4764 Hi there, I am playing out these timeout attributes: SQL_ATTR_CONNECTION_TIMEOUT and SQL_ATTR_QUERY_TIMEOUT. Basically I set the connection timeout to 1 sec after a connection is made and query timeout to 1 sec after a statement handle is allocated. And then I did the following: 1. lock a table (say dummy) manually in exclusive mode. 2. run my program which try to query this dummy table using the odbc interface with the same statement handle above. To my understanding, if these timeout features are supported correctly. My query should timeout after 1 sec. But in my test, the query just waits there forever. My question is therefore whether these timeout attributes are supported by the postgresql odbc driver at all or there is a problem in my test. Any suggestions or recommendations are highly appreciated. Thank you Joy __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250