locks and "select for update" - Mailing list pgsql-sql

From Wayne Cuddy
Subject locks and "select for update"
Date
Msg-id 20120831170554.GA32084@slacker.ja10629.home
Whole thread Raw
Responses Re: locks and "select for update"
List pgsql-sql
The documentation about concurrency states that all the different types
of locks are table locks even if the word row appears in the lock name.

The documentation about select statements states that when "for update
of" is used that only the selected rows will be locked. Is this true or
does this really mean that when any target row is found the entire table
is locked until the end of the transaction?

Thanks,
Wayne



pgsql-sql by date:

Previous
From: "Mubarik, Aiysha"
Date:
Subject: Tablesample Function on Postgres 9.1
Next
From: Tom Lane
Date:
Subject: Re: locks and "select for update"