Re: pgstat: Flush some statistics within running transactions, take 2

From: Sami Imseih <samimseih(dot)pg(at)gmail(dot)com>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, Lukas Fittl <lukas(at)fittl(dot)com>
Subject: Re: pgstat: Flush some statistics within running transactions, take 2
Date: 2026-09-03 12:04:00
Message-ID: CAN12+Y+P5WGisbJAV5o-anP7W075O+XnkftmtTTKtfgbn0WkAQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> === 1
>
> +CREATE TABLE trunc_stats_test5(id serial);
>
> I think it's related DROP is missing.

Thanks! I also found a few other cases with missing DROP that we might
as well as fix now. done in v12.

--
Sami Imseih
Amazon Web Services (AWS)

Attachment Content-Type Size
v12-0001-pgstat-Split-table-stat-counters-into-transactio.patch application/octet-stream 25.8 KB
v12-0002-pgstat-Allow-pg_stat_force_next_flush-to-work-in.patch application/octet-stream 102.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2026-09-03 12:07:16 Re: Remove stale XXX comment in logical launcher
Previous Message Bertrand Drouvot 2026-09-03 11:54:22 Re: Offline data checksum changes can cause incorrect checksum state on standbys