Re: Locking in PostgreSQL?

Поиск
Список
Период
Сортировка
От Markus Schiltknecht
Тема Re: Locking in PostgreSQL?
Дата
Msg-id 45766D30.3010008@bluegap.ch
обсуждение исходный текст
Ответ на Locking in PostgreSQL?  (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>)
Список pgsql-general
Hi,

Joost Kraaijeveld wrote:
> Does PostgreSQL lock the entire row in a table if I update only 1
> column?

Yes. In PostgreSQL, an update is much like a delete + insert. A
concurrent transaction will still see the old row. Thus the lock only
prevents other writing transactions, not readers.

Regards

Markus

P.S.: please do not cross post such questions.

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

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: Speed of postgres compared to ms sql, is this
Следующее
От: Leonard Soetedjo
Дата:
Сообщение: Error in installing compat-postgresql-libs rpm