pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Ottó Havasvölgyi <havasvolgyi.otto@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: For update
Date: Mon, 16 Jan 2006 14:05:15 -0300
Message-ID: <20060116170515.GK22228@surnet.cl> (raw)
In-Reply-To: <34608c0c0601160859g4e077ad9g@mail.gmail.com>
References: <34608c0c0601160859g4e077ad9g@mail.gmail.com>

Ottó Havasvölgyi wrote:

> What does this do exactly:
> 
> select * from <ViewName> where <condition>  for update;
> 
> Will be locked all the tuples in all tables it retrieves?

Yes.

> In 8.0.5 this did not work for me.

How did it not work?  Was any error message emitted?  What is the view
definition?

-- 
Alvaro Herrera                           Developer, http://www.PostgreSQL.org
"MySQL is a toy compared to PostgreSQL."             (Randal L. Schwartz)
      (http://archives.postgresql.org/pgsql-general/2005-07/msg00517.php)



view thread (7+ messages)  latest in thread

Message-ID: <20060116170515.GK22228@surnet.cl>
Permalink:  ../20060116170515.GK22228@surnet.cl/
Also on:    postgresql.org/message-id/20060116170515.GK22228@surnet.cl

 · 

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: alvherre@alvh.no-ip.org, havasvolgyi.otto@gmail.com
  Subject: Re: For update
  In-Reply-To: <20060116170515.GK22228@surnet.cl>

* 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