Andres Freund <and...@anarazel.de> writes: > On 2025-03-06 13:47:51 -0500, Corey Huinker wrote: >> I'm at the same conclusion. This would mean keeping the one >> getAttributeStats query perrelation,
> Why does it have to mean that? It surely would be easier with separate > queries, but I don't think there's anything inherently blocking us from doing > something in a more batch-y fashion. Complexity? pg_dump doesn't have anything like that at the moment, and I'm loath to start inventing such facilities at this point in the release cycle. Let's deal with the blockers for parallelizing dump and restore of stats, and then see where we are performance-wise. regards, tom lane