Re: this is in plain text (row level locks)

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: this is in plain text (row level locks)
Дата
Msg-id
11640.1060110130@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
this is in plain text (row level locks) "Jenny -" <nat_lazy@hotmail.com>
Re: this is in plain text (row level locks) Tom Lane <tgl@sss.pgh.pa.us>
Re: this is in plain text (row level locks) Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>
Re: this is in plain text (row level locks) Bruce Momjian <pgman@candle.pha.pa.us>
Re: this is in plain text (row level locks) Tom Lane <tgl@sss.pgh.pa.us>
Re: this is in plain text (row level locks) Bruce Momjian <pgman@candle.pha.pa.us>
Re: this is in plain text (row level locks) Tom Lane <tgl@sss.pgh.pa.us>
Re: this is in plain text (row level locks) Bruce Momjian <pgman@candle.pha.pa.us>
Re: this is in plain text (row level locks) Tom Lane <tgl@sss.pgh.pa.us>
Re: this is in plain text (row level locks) Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>
Re: this is in plain text (row level locks) Rod Taylor <rbt@rbt.ca>
Re: this is in plain text (row level locks) Tom Lane <tgl@sss.pgh.pa.us>
Re: this is in plain text (row level locks) Bruce Momjian <pgman@candle.pha.pa.us>
Re: this is in plain text (row level locks) Tom Lane <tgl@sss.pgh.pa.us>
Re: this is in plain text (row level locks) Bruce Momjian <pgman@candle.pha.pa.us>
Re: this is in plain text (row level locks) Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>
Re: this is in plain text (row level locks) Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>
Re: this is in plain text (row level locks) Tom Lane <tgl@sss.pgh.pa.us>
Re: this is in plain text (row level locks) Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>
Re: this is in plain text (row level locks) Bruce Momjian <pgman@candle.pha.pa.us>
Re: this is in plain text (row level locks) Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>
Re: this is in plain text (row level locks) Tom Lane <tgl@sss.pgh.pa.us>
Re: this is in plain text (row level locks) Sailesh Krishnamurthy <sailesh@cs.berkeley.edu>
Re: this is in plain text (row level locks) Mike Mascari <mascarm@mascari.com>
"Jenny -"  writes:
> so even though the application locks a row in a table, table-level locks are 
> automatically taken by postgesql ? why is that?

So that the table doesn't disappear while you're trying to scan it.  (Or
afterwards --- a row-level lock wouldn't be noticed by DROP TABLE.)

Note that AccessShareLock is a pretty weak kind of lock, and holding it
does not prevent most other operations.
		regards, tom lane

В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
Сообщение: Re: logging stuff
От: Tom Lane
Дата:
Сообщение: Re: TODO: trigger features
FAQ