pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedODBC Dies after Dialup-network reconnects
2+ messages / 2 participants
[nested] [flat]
* ODBC Dies after Dialup-network reconnects
@ 2004-03-18 17:28 Thomas Quiring <tom@gsacomp.com>
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Quiring @ 2004-03-18 17:28 UTC (permalink / raw)
To: pgsql-odbc
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Hello All,<br>
<br>
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.<br>
<br>
It seems like access or the odbc is caching the socket connections, or
maybe pooling the connections/socket.<br>
<br>
Is there any way we can refresh our ODBC connection to Postgres without
restarting access?<br>
<br>
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.<br>
<br>
Any help is appreciated, <br>
<div class="moz-signature">Tom<br>
<br>
<br>
<table width="50%" cellspacing="0" border="0">
<tbody>
<tr>
<td>Thomas Quiring</td>
<td>GSA Computer Services</td>
</tr>
<tr>
<td>Senior Software Developer</td>
<td>45 Hannover Drive</td>
</tr>
<tr>
<td><a class="moz-txt-link-abbreviated"
href="mailto:tom@gsacomp.com">tom@gsacomp.com</a></td>
<td>St. Catharines, ON, CANADA</td>
</tr>
<tr>
<td><a class="moz-txt-link-abbreviated"
href="http://www.gsacomp.com">www.gsacomp.com</a></td;
<td>905.641.5061</td>
</tr>
<tr>
<td colspan="2">--</td>
</tr>
<tr>
<td colspan="2">"Great minds think alike -- Idiots seldom differ"</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: ODBC Dies after Dialup-network reconnects
@ 2004-03-18 20:51 Steve Jorgensen <jorgens@coho.net>
0 siblings, 0 replies; 2+ messages in thread
From: Steve Jorgensen @ 2004-03-18 20:51 UTC (permalink / raw)
To: pgsql-odbc
I'm no expert with PostgreSQL ODBC in particular, but I have never used any
other ODBC driver that could maintain an ODBC connection when the physical
connection was closed. If you need something like that, I think you will
need to open your own ADO connections in code and close them after each
interaction so they can be reopened cleanly again later. Whether Access is
helpful as a front-end in this configuration is a good question.
On Thursday, March 18, 2004 9:28 AM, Thomas Quiring [SMTP:tom@gsacomp.com]
wrote:
> 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-03-18 20:51 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-03-18 17:28 ODBC Dies after Dialup-network reconnects Thomas Quiring <tom@gsacomp.com>
2004-03-18 20:51 Re: ODBC Dies after Dialup-network reconnects Steve Jorgensen <jorgens@coho.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox