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

Поиск
Список
Период
Сортировка
От Sumaira Ali -
Тема Re: Putting code in main of src/backend/main/main.c
Дата
Msg-id BAY1-F431Ed28kIN4Mm000046aa@hotmail.com
обсуждение
Ответ на Putting code in main of src/backend/main/main.c  ("S -" <nat_lazy@hotmail.com>)
Ответы Re: Putting code in main of src/backend/main/main.c
Список pgsql-hackers
>"S -" 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?

What do you mean by underlying state? And also, each each time any process (transaction)wants to acqure a lock it calls LockAcquire (and if we put our code to update our linkedlist)and won't that ways each processes's actions be recorded in the linkedlist.

thanks

-sumaira



The new MSN 8: smart spam protection and 2 months FREE*

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