Hi,

On Tue, 1 Dec 2026 at 08:52, Chao Li <[email protected]> wrote:
>
> > On Dec 1, 2026, at 09:56, David Rowley <[email protected]> wrote:
> >
> > Does it look ok? Or better ideas for time formats? Or objections?
>
> +1 for reporting the duration of each step. The time formats look good to me.

I agree, I think it looks good.


> I don’t see where pg_initialize_timing() is called. Its header comment says 
> it must be called:
> ```
> /*
> * Initialize timing infrastructure
> *
> * This must be called at least once before using INSTR_TIME_SET_CURRENT*
> * macros.
> *
> * If you want to use the TSC clock source in a client program,
> * pg_set_timing_clock_source() needs to also be called.
> */
> extern void pg_initialize_timing(void);

Yes, you are right. Because of this reason, some pg_upgrade tests fail
after applying the patch. I think we can put pg_initialize_timing()
inside of pg_upgrade.c -> main(), this fixes the tests.


-- 
Regards,
Nazir Bilal Yavuz
Microsoft


Reply via email to