Locks, more complicated than I orginally thought
От | Chris Humphries |
---|---|
Тема | Locks, more complicated than I orginally thought |
Дата | |
Msg-id | 3C550FEB.2070501@devis.com обсуждение исходный текст |
Ответы |
Re: Locks, more complicated than I orginally thought
|
Список | pgsql-hackers |
Hello all, I am working on that SHOW locks todo item, that lists all current locks. This seems a bit tricky as there isno central place where one could reference a lock, appears they are just called. 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?Or is there some other method that would be more suitable for this. Seeking the advice of experience with this sortathing (if there is anyone, heh). If there was this one master linked list, holding all the lock information, thenmaking a SHOW locks like command would be a snap! Also do you think this sort of action would slow the database downtoo much to even warrent doing it this way? Of course i personally havent tested yet, so have no figures, but you guysknow more about database programming and postgresql. Thanks, Chris
В списке pgsql-hackers по дате отправления: