Re: lock table question

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: lock table question
Дата
Msg-id Pine.LNX.4.33.0212301657440.5862-100000@css120.ihs.com
обсуждение исходный текст
Ответ на Re: lock table question  ("Andy Kriger" <akriger@greaterthanone.com>)
Список pgsql-general
On Mon, 30 Dec 2002, Andy Kriger wrote:

> It doesn't lock the row from being read. I want to make sure the row cannot
> be read until I have done my read and updated if necessary. LOCK TABLE does
> that but also prevents other rows from being read which is a bit overzealous
> for my taste (the app is small so it's probably not a big deal in this case,
> but I can see in future possibilities how it would be).

You do realize of course, that with MVCC and serializable transactions,
the readers can't see what you're writing.  i.e. they won't see any of
your changes until a commit.


В списке pgsql-general по дате отправления:

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: pg and transactions
Следующее
От: "Mike Mascari"
Дата:
Сообщение: Re: lock table question