Re: idiom for interactive client applications.

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: idiom for interactive client applications.
Дата
Msg-id 250828.31397.qm@web31801.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на idiom for interactive client applications.  (syan tan <kittylitter@people.net.au>)
Список pgsql-novice
--- syan tan <kittylitter@people.net.au> wrote:
> What other ways are there of doing such an app?

The two ways that I know of are:

BEGIN TRANSACTION ISOLATION LEVEL SERIALIZABLE;

--if the tuple was modified by another transaction, this transaction will fail on commit.

SELECT FOR UPDATE... -- pre-lock the tuple of interest from other commits.

Regards,
Richard Broersma Jr.

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

Предыдущее
От: syan tan
Дата:
Сообщение: idiom for interactive client applications.
Следующее
От: Syan Tan
Дата:
Сообщение: Re: idiom for interactive client applications.