On Thu, 2024-10-24 at 05:01 +0300, Laurenz Albe wrote: > What you write above indicates that "relpages" = 0 and "reltuples" > > 0 > would also be acceptable.
As Tom pointed out, that creates a risk that it's interpreted as infinite tuple denisity. The only functional change in my patch is to create the partitioned table with relpages=-1 to be more consistent with the value after it's analyzed. Regards, Jeff Davis