From: Ottó Havasvölgyi <havasvolgyi.otto@gmail.com>
To: Ottó Havasvölgyi <havasvolgyi.otto@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: For update
Date: Mon, 16 Jan 2006 22:33:08 +0100
Message-ID: <34608c0c0601161333y54d6a285l@mail.gmail.com> (raw)
In-Reply-To: <20060116170515.GK22228@surnet.cl>
References: <34608c0c0601160859g4e077ad9g@mail.gmail.com>
<20060116170515.GK22228@surnet.cl>
Hello,
Huh, it was weeks ago, and I thought it was normal. It was a simple view
with one or two inner joins and without aggragates. Perhaps somebody could
try it. I got an error message, that said I cannot do that. I cannot
remember the exact message unfortunately.
Best Regards,
Otto
2006/1/16, Alvaro Herrera <alvherre@alvh.no-ip.org>:
>
> 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 <http://www.postgresql.org/;
> "MySQL is a toy compared to PostgreSQL." (Randal L. Schwartz)
> (http://archives.postgresql.org/pgsql-general/2005-07/msg00517.php)
>
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: havasvolgyi.otto@gmail.com
Subject: Re: For update
In-Reply-To: <34608c0c0601161333y54d6a285l@mail.gmail.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