help lock record

Поиск
Список
Период
Сортировка
От bitrunner
Тема help lock record
Дата
Msg-id 4473483E.9090202@katamail.com
обсуждение исходный текст
Ответы Re: help lock record  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-jdbc
For lock the record I use:
select * from orders where id = 17 for update

in this way lock the record with id = 17.
If an other user demands the same record as I can understand that it is
lock?

Thanks a lot.

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

Предыдущее
От: Glenn Holmer
Дата:
Сообщение: reading null date field
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: help lock record