From: Richard Huxton <dev@archonet.com>
To: Thomas Rokohl <rokohl@raygina.de>
Cc: pgsql-odbc@postgresql.org
Subject: Re: lock - feedback
Date: Wed, 12 Oct 2005 12:40:02 +0100
Message-ID: <434CF612.8010705@archonet.com> (raw)
In-Reply-To: <434CEB1A.4050102@raygina.de>
References: <434CEB1A.4050102@raygina.de>
Thomas Rokohl wrote:
> hi,
>
> i have a short question and i don't find an answer is the archive.
> i'm using the odbc interface to the db and if i lock rows with
> SELECT FOR UPDATE and someone else try the same or
> try to read the rows, i will give him a feedback that he must wait or
> abort.
> The Problem is that the SELECT statement wait without feedback until
> the end of the world if the row is lock.
Actually, it will timeout, and you can set that with PG's configuration
setting of "statement_timeout". See the "run-time configuration" section
of the manual for details.
--
Richard Huxton
Archonet Ltd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: dev@archonet.com, rokohl@raygina.de
Subject: Re: lock - feedback
In-Reply-To: <434CF612.8010705@archonet.com>
References: <434CEB1A.4050102@raygina.de> <434CF612.8010705@archonet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox