Gavin Sherry <swm(at)linuxworld(dot)com(dot)au> writes:> Neither. I might look into it further later, but here's a patch to exit> out of pgstat_initstats() if we're not collecting stats (attached).
Applied along with other fixes.
regards, tom lane