From: bitrunner <bitrunner@katamail.com>
To: pgsql-jdbc@postgresql.org
Subject: help lock record
Date: Tue, 23 May 2006 19:37:02 +0200
Message-ID: <4473483E.9090202@katamail.com> (raw)
For lock the record I use:
select * from orders where id = 17 for update
in this way lock the record with id = 17.
If an other user demands the same record as I can understand that it is
lock?
Thanks a lot.
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-jdbc@postgresql.org
Cc: bitrunner@katamail.com
Subject: Re: help lock record
In-Reply-To: <4473483E.9090202@katamail.com>
References: <4473483E.9090202@katamail.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