[GENERAL] meaning of "waiting" column in pg_stat_activity?

2012-07-23 Thread Chris Curvey
Just wondering...if a query is "waiting", what is it waiting for? Is this only for locks, or can it be for disk, or a memory buffer? (If there is a description of the meaning of things in pg_stat_activity and it's relatives, I'd love a pointer, 'cause I can't seem to find it.) -- e-Mail is the

Re: [GENERAL] meaning of "waiting" column in pg_stat_activity?

2012-07-23 Thread Guillaume Lelarge
On Mon, 2012-07-23 at 16:13 -0400, Chris Curvey wrote: > Just wondering...if a query is "waiting", what is it waiting for? Locks. > Is > this only for locks, or can it be for disk, or a memory buffer? Only locks. > (If > there is a description of the meaning of things in pg_stat_activity >