Re: Transaction settings: nowait

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Transaction settings: nowait
Дата
Msg-id dcc563d10905291002t668478dy2887827b7d0d1e2e@mail.gmail.com
обсуждение исходный текст
Ответ на Transaction settings: nowait  (durumdara <durumdara@gmail.com>)
Список pgsql-general
On Fri, May 29, 2009 at 10:55 AM, Y W <luckyasser@gmail.com> wrote:
> But according to the documentation, are they ignored if postgres was hosted
> on a Unix/linux system?

They work fine on unix, as long as the user has the option to set
their own timeouts.  If not then set them for the OS (for linux see
/etc/sysctl.conf)

> And are you're pretty sure that connections are terminated on the server
> side, which will result in releasing any locked resources during that failed
> transaction?

Yep, tested and confirmed behaviour on RHEL4 and RHEL5 in production.
I set the system level tcp_keepalive setttings in those two instances.

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Converting each item in array to a query result row
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: Transaction settings: nowait