Re: Default mode for shutdown

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Default mode for shutdown
Дата
Msg-id AANLkTi=EBCRbWnOY1NZcfZ7b+KsJqtQ-9oxFZc23qsm+@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Default mode for shutdown  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Wed, Dec 15, 2010 at 16:11, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Excerpts from Robert Haas's message of mié dic 15 12:03:06 -0300 2010:
>
>> Certainly, if you have an environment where people are mostly logging
>> into the database directly (not through a connection pooler) and they
>> do a few important queries and then disconnect, smart is a better
>> default.  But if you have an environment where (for whatever reason)
>> long-lasting connections are common, smart is worse than useless.
>
> It occurs to me that we may need a new mode, which disconnects sessions
> that are not in a transaction (or as soon as they are) but leaves
> in-progress transactions alone; this could be the new default.  Of
> course, this is much more difficult to implement than the current modes.

Now that, however, would actually be a useful behavior... Where's your patch? ;)

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Default mode for shutdown
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: range intervals in window function frames