Re: acquiring row and page level locks

From: "Jenny -" <nat_lazy(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: acquiring row and page level locks
Date: 2003-08-29 12:27:57
Message-ID: BAY1-F18ePQ0BdAbSmu0004b9fa@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


>select for update will get you row level write locks. It won't block
>normal selects.
there are no row level read locks in postgresql right?
thanks
jenny

>From: Bruno Wolff III <bruno(at)wolff(dot)to>
>To: Jenny - <nat_lazy(at)hotmail(dot)com>
>CC: pgsql-general(at)postgresql(dot)org
>Subject: Re: [GENERAL] acquiring row and page level locks
>Date: Thu, 28 Aug 2003 22:20:22 -0500
>
>On Thu, Aug 28, 2003 at 20:08:33 -0700,
> Jenny - <nat_lazy(at)hotmail(dot)com> wrote:
> > hi ,
> > coudl some one tell me how to acquire row-level and page level locks in
> > postgresql.
> > iam aware that table level locks can be acquired by the command:
> > "lock table *tablename* in *locktype* mode;
>
>select for update will get you row level write locks. It won't block
>normal selects.

_________________________________________________________________
Get MSN 8 and help protect your children with advanced parental controls.
http://join.msn.com/?page=features/parental

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bjørn T Johansen 2003-08-29 12:51:16 Cannot drop table ordre because other objects depend on it
Previous Message Nick Barr 2003-08-29 12:17:39 Re: select taking forever