Re: Putting code in main of src/backend/main/main.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Putting code in main of src/backend/main/main.c
Дата
Msg-id 12874.1051189362@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Putting code in main of src/backend/main/main.c  ("S -" <nat_lazy@hotmail.com>)
Список pgsql-hackers
"S -" <nat_lazy@hotmail.com> writes:
> We are working on a project where we want to create a single linked list  
> that holds information of all the locks taken or being waited for by 
> transactions in Postgresql.

How will you maintain such a list, when the underlying state is
constantly being changed by many different processes?

Perhaps more to the point, why would you want to?  The existing lock
status data structures in shared memory can be traversed at need.
        regards, tom lane



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

Предыдущее
От: Ben Clewett
Дата:
Сообщение: Unrelated question
Следующее
От: Tom Lane
Дата:
Сообщение: Re: forking child processes in src/backend/main/main.c