X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8167AD1B9BC for ; Thu, 18 Mar 2004 17:28:43 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 43073-05 for ; Thu, 18 Mar 2004 13:28:40 -0400 (AST) Received: from www.gsacomp.com (unknown [207.35.186.21]) by svr1.postgresql.org (Postfix) with ESMTP id B5C78D1B566 for ; Thu, 18 Mar 2004 13:28:31 -0400 (AST) Received: from gsacomp.com (tom.gsacomp.com [207.35.186.2]) by www.gsacomp.com (8.11.0/8.8.7) with ESMTP id i2IHSKr03705 for ; Thu, 18 Mar 2004 12:28:20 -0500 Message-ID: <4059DC37.8090704@gsacomp.com> Date: Thu, 18 Mar 2004 12:28:23 -0500 From: Thomas Quiring User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-odbc@postgresql.org Subject: ODBC Dies after Dialup-network reconnects Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/66 X-Sequence-Number: 3868 Hello All,

Here's the problem.. we have clients (MS Access) dialing out to the internet and sending data to a Postgres server. Everything  works fine until you disconnect the internet and reconnect it. After reconnection to the internet no ODBC connections work ("ODBC Call Failed").  If we exit Access and then try it again it works.

It seems like access or the odbc is caching the socket connections, or maybe pooling the connections/socket.

Is there any way we can refresh our ODBC connection to Postgres without restarting access?

If any brave soul wants to look through my odbc log files then let me know and I'll create a test and forward them.

Any help is appreciated,
Tom


Thomas Quiring GSA Computer Services
Senior Software Developer 45 Hannover Drive
tom@gsacomp.com St. Catharines, ON, CANADA
www.gsacomp.com 905.641.5061
--
"Great minds think alike -- Idiots seldom differ"