Re: How does server handle clients that disconnect ungracefully?

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: How does server handle clients that disconnect ungracefully?
Дата
Msg-id 20070424134334.GD15856@svr2.hagander.net
обсуждение исходный текст
Ответ на How does server handle clients that disconnect ungracefully?  (Jeff Lanzarotta <delux256-postgresql@yahoo.com>)
Ответы Re: How does server handle clients that disconnect ungracefully?
Список pgsql-general
On Tue, Apr 24, 2007 at 05:53:02AM -0700, Jeff Lanzarotta wrote:
> Hello,
>
> I am writing an application that reads information from my PostgreSQL
> database. If I cause the program to crash and the program ends without
> gracefully disconnecting from the database, there is an open connection
> still left in the database.
>
> How does the PostgreSQL server handle clients that disconnect
> ungracefully? Will the server automatically clean up this connection
> that really is not there?

Yes, but it will log a notice about it in the server log.

//Magnus


В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Problem Backing Up a DB
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: How does server handle clients that disconnect ungracefully?