On Tue, Nov 17, 2026 at 9:32 AM Manu <manuelreyesbravo(at)gmail(dot)com> wrote:
> Patch with a test attached; the test also fails without assertions.
Thanks for the report and patch!
The fix in pgstat_io.c seems good to me.
I wonder if adding a new TAP test file might be overkill for this fix.
Several similar fixes for assertion failures in single-user mode have
not included tests.
Using temporary tables in single-user mode seems uncommon,
so I'm not sure a dedicated test provides enough value to justify
the additional test runtime.
Regards,
--
Fujii Masao