Re: Feature freeze date for 8.1

Поиск
Список
Период
Сортировка
От Andrew - Supernews
Тема Re: Feature freeze date for 8.1
Дата
Msg-id slrnd7d1ak.2tf6.andrew+nonews@trinity.supernews.net
обсуждение исходный текст
Ответ на Re: Feature freeze date for 8.1  (Rob Butler <crodster2k@yahoo.com>)
Ответы Re: Feature freeze date for 8.1  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Feature freeze date for 8.1  (<adnandursun@asrinbilisim.com.tr>)
Список pgsql-hackers
On 2005-05-02, Rob Butler <crodster2k@yahoo.com> wrote:
> Another option is to have the client driver send some
> ignorable message instead of the server.  If the
> server doesn't get a message every timeout
> minutes/seconds + slop factor, then it drops the
> connection.  So libpq, JDBC, .net etc would all have
> to have this implemented, but the changes to the
> server would probably be simpler this way, wouldn't they?

Then the client has to guarantee that it can stop whatever it was doing
(which might have nothing to do with the database) every so often in
order to send a message; this isn't feasible for most clients.

The server-based method is actually no more complex to implement on the
server end and does not impose any such restrictions on the client (even
if the client sets the option and then ignores the database connection
for a long time, all that happens is that the TCP window fills up).

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-advocacy] Increased company involvement
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [pgsql-advocacy] Decision Process WAS: Increased company