From: Jonathan Man <jman@equityunderwriters.com.hk>
To: pgsql-sql@postgresql.org
Subject: Timeout for lock table
Date: Wed, 2 Jul 2003 11:17:22 +0800
Message-ID: <000801c34048$748fccf0$8401a8c0@equity.com> (raw)
Dear All,
I begin a transaction. I then execute a SQL command "SELECT FOR UPDATE" to lock some records on the first session. Besides, I also lock some rows using the same method on the second session. Is it possible to return an error message to indicate that some records were locked by another user when I lock it on the second session?
Please help me, THX!!
JMAN
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jman@equityunderwriters.com.hk
Subject: Re: Timeout for lock table
In-Reply-To: <000801c34048$748fccf0$8401a8c0@equity.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