On Mon, 2025-01-20 at 21:25 -0500, Corey Huinker wrote: > > I tried that, adding a test for it. Treating partitioned indexes like > regular indexes causes the exact same error as was initially reported > for indexes, so I took it back out.
I don't think we should declare (as a part of this feature) that partitioned indexes should follow the table locking protocol for updating stats. Let's just block updating stats for partitioned indexes until there's a defined way to do so. Also, we should check privileges on the right object, consistent with how ANALYZE does it. Regards, Jeff Davis