Re: Statistics Import and Export

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Cc: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Stephen Frost <sfrost(at)snowman(dot)net>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, alvherre(at)alvh(dot)no-ip(dot)org
Subject: Re: Statistics Import and Export
Date: 2024-08-15 08:57:03
Message-ID: e1c15b4eb1472f5bba9d61315b3fc2fb7484d8a4.camel@j-davis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, 2024-08-04 at 01:09 -0400, Corey Huinker wrote:
>
> > I believe 0001 and 0002 are in good shape API-wise, and I can start
> > getting those committed. I will try to clean up the code in the
> > process.

Attached v26j.

I'm slowly refactoring it and rediscovering some of the interesting
corners in deriving the right information to store the stats. There's
still a ways to go, though. The error paths could also use some work.

Regards,
Jeff Davis

Attachment Content-Type Size
v26j-0001-Create-function-pg_set_relation_stats.patch text/x-patch 17.4 KB
v26j-0002-Create-function-pg_set_attribute_stats.patch text/x-patch 87.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ilia Evdokimov 2024-08-15 09:50:58 Re: Vacuum statistics
Previous Message Alena Rybakina 2024-08-15 08:49:36 Re: Vacuum statistics