David Rowley <dgrowle...@gmail.com> writes: > I feel like we might need to either bite the bullet and make ONLY work > consistently with both, or think of another way to have ANALYZE not > recursively gather stats for each partition on partitioned tables. > Could we possibly get away with changing inheritance parent behaviour?
Yeah, my thought was to change the behavior so it's consistent in that case too. This doesn't seem to me like a change that'd really cause anybody serious problems: ANALYZE without ONLY would do more than before, but it's work you probably want done anyway. regards, tom lane