More work on pgstat