Tomas Vondra <tomas.von...@2ndquadrant.com> writes: > On Sat, May 18, 2019 at 11:49:06AM -0700, Andres Freund wrote: >>> On Sat, 18 May 2019 at 16:13, Tom Lane <t...@sss.pgh.pa.us> wrote: >>>> It seems like what we need here is to have a separation between the >>>> *definition* of a stats object (which is what pg_dump needs access >>>> to) and the current actual *data* in it.
>> Otoh, having a suboptimal catalog representation that we'll likely have >> to change in one of the next releases also isn't great. Seems likely >> that we'll need post beta1 catversion bumps anyway? > But that's not an issue intruduced by PG12, it works like that even for > the extended statistics introduced in PG10. Yeah, but no time like the present to fix it if it's wrong ... regards, tom lane