Re: [GENERAL] view row-level locks

2008-07-11 Thread Tom Lane
Vivek Khera <[EMAIL PROTECTED]> writes: > On Jul 11, 2008, at 4:24 AM, Richard Huxton wrote: >> If you just want to see if a lock has been taken (e.g. SELECT FOR >> UPDATE) then that shows in pg_locks. If you want details on the >> actual rows involved, then you probably want "pgrowlocks" menti

Re: [GENERAL] view row-level locks

2008-07-11 Thread Vivek Khera
On Jul 11, 2008, at 4:24 AM, Richard Huxton wrote: If you just want to see if a lock has been taken (e.g. SELECT FOR UPDATE) then that shows in pg_locks. If you want details on the actual rows involved, then you probably want "pgrowlocks" mentioned in Appendix F. Additional Supplied Module

Re: [GENERAL] view row-level locks

2008-07-11 Thread Richard Huxton
Michael Shulman wrote: Hi, This seems like it must be a common question, but Google can't find the answer for me. How do I view the currently open row-level locks? The manual says that the table pg_locks doesn't contain row-level locks, since they are stored on disk rather than in memory, but i

[GENERAL] view row-level locks

2008-07-11 Thread Michael Shulman
Hi, This seems like it must be a common question, but Google can't find the answer for me. How do I view the currently open row-level locks? The manual says that the table pg_locks doesn't contain row-level locks, since they are stored on disk rather than in memory, but it doesn't say how one can