pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PostgreSQL <malcus@terra.com.br>
To: pgsql-admin@postgresql.org
Subject: Row Lock
Date: Thu, 22 Nov 2007 16:31:20 -0200
Message-ID: <fi4hto$p6j$1@news.hub.org> (raw)

I'm having a problem with some row locks where one user does the lock 
and another user try to do the same, but of course, the second one will 
be waiting the first user unlock it.

I would like to know if there is a way to discover if that row is locked 
before I try to do the lock.

I have been researching something like ROWID but I couldn't find 
anything useful.

Thank's




view thread (2+ messages)  latest in thread

Message-ID: <fi4hto$p6j$1@news.hub.org>
Permalink:  ../fi4hto$p6j$1@news.hub.org/
Also on:    postgresql.org/message-id/fi4hto$p6j$1@news.hub.org

 · 

reply

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-admin@postgresql.org
  Cc: malcus@terra.com.br
  Subject: Re: Row Lock
  In-Reply-To: <fi4hto$p6j$1@news.hub.org>

* 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