[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #27823] SQLClient drops connections without sending notifications
From: |
Kai Henningsen |
Subject: |
[bug #27823] SQLClient drops connections without sending notifications |
Date: |
Tue, 27 Oct 2009 12:04:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.14) Gecko/2009090217 Ubuntu/9.04 (jaunty) Firefox/3.0.14 |
URL:
<http://savannah.gnu.org/bugs/?27823>
Summary: SQLClient drops connections without sending
notifications
Project: GNUstep
Submitted by: kaicats
Submitted on: Di 27 Okt 2009 12:04:04 GMT
Category: Libraries
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Scenario:
You have a connection to a PostgreSQL server.
The server issues an error.
Postgres.m will then close the connection and raise an exception, but will
not send out a SQLClientDidDisconnectNotification. For that matter, I've never
seen a SQLClientDidConnectNotification either. Presumably that never happens
with automatic connects.
This is rather important when there's a need to start every connection with
stuff like SET client_encoding = 'UTF8'.
Anyway, it seems rather unfriendly (and performance-hostile) to drop the
connection just because there was an error. You cannot always avoid, say,
causing a duplicate key error, in a situation where more than one connection
is updating.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27823>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [bug #27823] SQLClient drops connections without sending notifications,
Kai Henningsen <=