Search Postgresql Archives

Re: Status of gist locking in 8.1.3?

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

 



Francisco Reyes wrote:
Chris writes:

Is there a way to tell what tables have locks on them?

SELECT * from pg_locks ;

(version 7.4 and above at least, don't have an install earlier than that).

And this is per DB right?

No, this is per system.

Not sure how it works with permissions (eg if you have access to one db but not another does it still show?) but as a superuser, it will show all locks across the whole system.

--
Postgresql & php tutorials
http://www.designmagick.com/


[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