Re: Slow response of PostgreSQL - Mailing list pgsql-performance

From scott.marlowe
Subject Re: Slow response of PostgreSQL
Date
Msg-id Pine.LNX.4.33.0402171848520.32355-100000@css120.ihs.com
Whole thread Raw
In response to Re: Slow response of PostgreSQL  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Responses Re: Slow response of PostgreSQL  (Bill Moran <wmoran@potentialtech.com>)
Re: Slow response of PostgreSQL  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-performance
On Wed, 18 Feb 2004, Christopher Kings-Lynne wrote:

> >>> 1- How can I lock a single record so that other users can only read
> >>> it. ??
> >>
> >>
> >> You cannot do that in PostgreSQL.
> >
> >
> > How about SELECT ... FOR UPDATE?
>
> No, because users cannot read the locked row in that case.

I just tested it (within transactions) and it appeared that I could still
view the rows selected for update.


pgsql-performance by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: Slow response of PostgreSQL
Next
From: Bill Moran
Date:
Subject: Re: Slow response of PostgreSQL