Re: Transaction settings: nowait - Mailing list pgsql-general

From Scott Marlowe
Subject Re: Transaction settings: nowait
Date
Msg-id dcc563d10905291002t668478dy2887827b7d0d1e2e@mail.gmail.com
Whole thread Raw
In response to Transaction settings: nowait  (durumdara <durumdara@gmail.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Converting each item in array to a query result row
Next
From: Scott Marlowe
Date:
Subject: Re: Transaction settings: nowait