Backends created by ODBC live forever ...

From: Hans-Jürgen Schönig <postgres(at)cybertec(dot)at>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Backends created by ODBC live forever ...
Date: 2003-03-10 16:14:46
Message-ID: 3E6CB9F6.8030303@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

We have an application which syncs Access databases with PostgreSQL (I
know that this is VERY ugly). It is a simple script based Access
application. People wanted that application because they are familiar
with Microsoft stuff. When Access establishes a connection to PostgreSQL
everything is just fine. If Access is closed properly everything is
still fine - the server side backend dies just the way it is supposed to
die. However, if Access crashes or if the dial-up connections goes down
the connection is not closed explicitly and the server side backend
stays alive forever - even if the Windows client is rebooted.

As you can easily imagine that there are MANY dead backends around at
the end of the day. Is there a way for PostgreSQL to found out that the
connection is lost? This problem occurs in combination with ODBC - I
haven't seen it anywhere else up to now.

Did anybody encouter similar problems?

Regards,

Hans
<http://kernel.cybertec.at>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dwayne Miller 2003-03-10 16:23:40 Duplicate messages
Previous Message Alvaro Herrera 2003-03-10 16:14:45 Re: Who puts the Windows binaries on the FTP server?