Re: Locks, more complicated than I orginally thought

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Locks, more complicated than I orginally thought
Дата
Msg-id 20912.1012237027@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Locks, more complicated than I orginally thought  (Chris Humphries <chumphries@devis.com>)
Список pgsql-hackers
Chris Humphries <chumphries@devis.com> writes:
>      Now my question is that, would it be "ok" to have a locks
>   linked list that held all the locks, and their information
>   in the function calls that make the lock?

Huh?  The lock manager keeps lists that show all the locks held by a
given process.  These data structures are even rather better documented
than is usual for Postgres: src/backend/storage/lmgr/README.
        regards, tom lane


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

Предыдущее
От: Chris Humphries
Дата:
Сообщение: Locks, more complicated than I orginally thought
Следующее
От: Tom Lane
Дата:
Сообщение: Improving backend launch time by preloading relcache