Re: Lock Wait Statistics (next commitfest) - Mailing list pgsql-hackers

From Mark Kirkwood
Subject Re: Lock Wait Statistics (next commitfest)
Date
Msg-id 4AC7DC9B.9060904@paradise.net.nz
Whole thread Raw
In response to Re: Lock Wait Statistics (next commitfest)  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Jeff Janes wrote:
>
> The total wait time is equal to the max wait time (which are both
> equal to l_end)?
> One or both of those has to end up being wrong.  At this stage, is
> l_end supposed to be the last wait time, or the cumulative wait time?
>
>
>   
Hmm - I may well have fat fingered the arithmetic, thanks I'll take a look!

> One of the things in the patch review checklist is about compiler
> warnings, so I am reporting these:
>
> lock.c: In function `LockAcquire':
> lock.c:797: warning: passing arg 1 of `pgstat_init_lock_wait' discards
> qualifiers from pointer target type
> lock.c:802: warning: passing arg 1 of `pgstat_end_lock_wait' discards
> qualifiers from pointer target type
>
>
>
>   

Right, will look at too.

Cheers

Mark


pgsql-hackers by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: Lock Wait Statistics (next commitfest)
Next
From: Robert Haas
Date:
Subject: Re: SELECT ... FOR UPDATE [WAIT integer | NOWAIT] for 8.5