Re: Locking rows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Locking rows
Дата
Msg-id 5979.1046463010@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Locking rows  (Jean-Christian Imbeault <jc@mega-bucks.co.jp>)
Список pgsql-general
Jean-Christian Imbeault <jc@mega-bucks.co.jp> writes:
> True but what I am worried about is the data changing while I am in a
> transaction.

Start a serializable-mode transaction, and the data will not change ---
not from your perspective, anyway.  Trying to lock it down to not change
from other people's perspectives seems pointless.

            regards, tom lane

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

Предыдущее
От: Ivan
Дата:
Сообщение: Re: Few Simple Questions
Следующее
От: Dmitry Tkach
Дата:
Сообщение: Re: postgres error reporting