Re: Statistics Import and Export

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Jeff Davis <pgsql(at)j-davis(dot)com>, Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, jian he <jian(dot)universality(at)gmail(dot)com>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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>, alvherre(at)alvh(dot)no-ip(dot)org
Subject: Re: Statistics Import and Export
Date: 2025-02-20 15:43:53
Message-ID: ea4cbbc1-c5a5-43d1-9618-8ff3f2155bfe@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2025-02-20 Th 4:39 AM, Jeff Davis wrote:
> On Wed, 2025-02-12 at 19:00 -0800, Jeff Davis wrote:
>> I'm still reviewing v48, but I intend to commit something soon.
> Committed with some revisions on top of v48:
>
> * removed the short option -X, leaving the long option "--statistics-
> only" with the same meaning.
>
> * removed the redundant --with-statistics option for pg_upgrade,
> because that's the default anyway.
>
> * removed an unnecessary enum TocEntryType and cleaned up the API to
> just pass the desired prefix directly to _printTocEntry().
>
> * stabilized the 002_pg_upgrade test by turning off autovacuum before
> the first pg_dumpall (we still want it to run before that to collect
> stats).
>
> * stabilized the 027_stream_regress recovery test by specifying --no-
> statistics when comparing the data on primary and standby
>
> * fixed the cross-version upgrade tests by using the
> adjust_old_dumpfile to replace the version specifier with 000000 in the
> argument list to pg_restore_* functions.
>

The buildfarm doesn't like with this.
<https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=crake&dt=2025-02-20%2009%3A32%3A03&stg=xversion-upgrade-REL9_2_STABLE-HEAD>

The conversion regexes are wrong for versions < 10, where the major
version is '9.x', but that just seems to be the tip of the iceberg.

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2025-02-20 15:48:10 Re: Restrict publishing of partitioned table with a foreign table as partition
Previous Message David Steele 2025-02-20 15:40:47 Re: Fix logging for invalid recovery timeline