Search Postgresql Archives

Re: pg_locks "at-a-glance" view

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Decibel! escribió:

> Yeah, if you look at the code, locks are defined as numbers and I  
> believe there's a very simple patter of what conflicts; a higher lock  
> number conflicts with all those that are lower. So, it might be a lot  
> cleaner to have a function that defines numbers for all the lock modes 
> and just test to see if one lock is higher than another.

This is not always the case.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux