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>
Re: The mystery of concurrent access Jason Earl <jdearl@yahoo.com>
Re: The mystery of concurrent access "Josh Berkus" <josh@agliodbs.com>
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
Дата:
От: Jason Earl
Дата:
FAQ