Re: Statistics Import and Export - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Statistics Import and Export
Date
Msg-id 4fafce13e92080e52cc8a958fdd62b74113c6979.camel@j-davis.com
Whole thread Raw
In response to Re: Statistics Import and Export  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: Statistics Import and Export
List pgsql-hackers
On Mon, 2025-01-20 at 22:21 -0500, Corey Huinker wrote:
>
> -1.
> That will break pg_upgrade tests if there's any statistics out there
> for any partitioned index.

Are you saying that there is a path for a partitioned index to have
stats today? If so, we can just follow that locking protocol. If not,
I'm concerned about trying to define the locking protocol for doing so
as a side-effect of this work.

Wouldn't it be easy enough to issue a WARNING and skip it?

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: Statistics Import and Export
Next
From: Andy Fan
Date:
Subject: Re: Pre-allocating WAL files