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

From Andres Freund
Subject Re: Statistics Import and Export
Date
Msg-id C50CB626-4B47-42CF-A4E7-BC4C1A7C385C@anarazel.de
Whole thread Raw
In response to Re: Statistics Import and Export  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: Statistics Import and Export
Re: Statistics Import and Export
List pgsql-hackers
Hi,

On February 24, 2025 10:30:08 PM GMT+01:00, Corey Huinker <corey.huinker@gmail.com> wrote:
>From what I can see, it doesn't. Moreover, the attstattarget array agg is
>only done in version 11 and higher, and we need to go as far back as we've
>got expression indexes.

I don't think we have to at all. It's perfectly reasonable to add a complicated feature like this only when upgrading
fromnewer versions. I'd go even so far to say that it's a bad idea to support unsupported source versions, because
it'llmean we'll practically get very very little testing for those paths but claim to support them.  

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.



pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: Statistics Import and Export
Next
From: James Hunter
Date:
Subject: Re: Proposal: "query_work_mem" GUC, to distribute working memory to the query's individual operators