pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-sql@postgresql.org, Carlos Santos <carlos@compels.net>
Subject: Re: LOCK command inside a TRANSACTION
Date: Tue, 3 Apr 2007 15:57:33 +0200
Message-ID: <200704031557.33680.peter_e@gmx.net> (raw)
In-Reply-To: <141386.39515.qm@web57105.mail.re3.yahoo.com>
References: <141386.39515.qm@web57105.mail.re3.yahoo.com>

Am Dienstag, 3. April 2007 14:48 schrieb Carlos Santos:
> - if an user query a select on a table, the rows of the table in the result
> of this select can not be updated or deleted by another user until this one
> update, delete or discard the changes on those rows.

Sounds like SELECT FOR UPDATE.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/



view thread (2+ messages)

Message-ID: <200704031557.33680.peter_e@gmx.net>
Permalink:  ../200704031557.33680.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200704031557.33680.peter_e@gmx.net

 · 

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-sql@postgresql.org
  Cc: peter_e@gmx.net, carlos@compels.net
  Subject: Re: LOCK command inside a TRANSACTION
  In-Reply-To: <200704031557.33680.peter_e@gmx.net>

* 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