update pg stats when they are queried; share peer_info on query too

Fixes: #6988