Re: Locking tables

Поиск
Список
Период
Сортировка
От Markus Bertheau
Тема Re: Locking tables
Дата
Msg-id 1058909937.5502.4.camel@saphir
обсуждение исходный текст
Ответ на Re: Locking tables  (Dmitry Tkach <dmitry@openratings.com>)
Ответы Re: Locking tables  (Dmitry Tkach <dmitry@openratings.com>)
Список pgsql-novice
В Пнд, 21.07.2003, в 20:03, Dmitry Tkach пишет:

> select * from table where id=1 FOR UPDATE;
>
> ... is what you are looking for - this will put a lock on the rows that
> actually get selected, so that another transaction will not be able to
> modify them until you commit or rollback.

Can new rows be inserted by another connection with id = 1?

--
Markus Bertheau.
Berlin, Berlin.
Germany.

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Encrypted data.
Следующее
От: Dmitry Tkach
Дата:
Сообщение: Re: Locking tables