Re: Row-Level Locking?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Row-Level Locking?
Дата
Msg-id 16539.990645828@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Row-Level Locking?  (gzoller@hotmail.com (Greg Zoller))
Список pgsql-general
gzoller@hotmail.com (Greg Zoller) writes:
> My problem is this: what happens if half-way through this set of
> operations someone else (perhaps in another thread) attempts to execute
> the same operation?

See
http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/mvcc.html
SELECT FOR UPDATE and/or the implicit row lock done by UPDATE should
solve your problem.

            regards, tom lane

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

Предыдущее
От: "Thalis A. Kalfigopoulos"
Дата:
Сообщение: DB2 enhancements?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: $PGSQL/include/postgres.h