| From: | Sami Imseih <samimseih(dot)pg(at)gmail(dot)com> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz> |
| Cc: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org, Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>, 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-12-04 16:54:41 |
| Message-ID: | CAN12+YKJzQDQySH3GnWcEGgSepq2p6iw0fcexmzmNVNuk-ijEA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> I have spent some time on v24-0001, and adding these two fields sounds
> fine here as a start, so done this part.
>
> It's not something that we need to add to the 2PC file, as nothing
> (aka autovacuum) care about the availability of this information, so
> the change in PostPrepare_PgStat_Relations() was raising my eyebrow
> but I can see why you have done so.
Thanks!
v25 is the updated patchset. I have now included the automatic flush
discussed above
as 0006. I also made one slight change to v25-000 (previously v24-0004), and
it is to ensure that pgStatForceNextFlush is not reset iwhtin a transaction.
All other patches are the same.
--
Sami
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sami Imseih | 2026-12-04 16:56:54 | Re: pgstat: Flush some statistics within running transactions, take 2 |
| Previous Message | Jelte Fennema-Nio | 2026-12-04 16:52:34 | Re: Reapply graceful socket shutdown on Windows (revert 29992a6a509) |