Re: The mystery of concurrent access

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: The mystery of concurrent access
Дата
Msg-id web-142736@davinci.ethosmedia.com
обсуждение исходный текст
Ответ на The mystery of concurrent access  ("P.V. Subramanian" <pvsmian@hotmail.com>)
Список pgsql-novice
P.V.,

> When 2 processes/people are simultaneously working on a table
>
> * does Postgres automatically enforce some sort of locking?
> * do the changes made by process A become visible to process B
> immediately
> (of course, the result of a SELECT wouldn't change dynamically, but
> suppose
> process B did another SELECT, would it access process A's records?)

Please read:

http://www.postgresql.org/idocs/index.php?mvcc.html

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to find out that a record has been updated
Следующее
От: Jason Earl
Дата:
Сообщение: Re: The mystery of concurrent access