Re: [PATCH] Change wait_time column of pg_stat_lock to double precision

Tatsuya Kawata <kawatatatsuya0913@gmail.com>

From: Tatsuya Kawata <kawatatatsuya0913@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2026-07-01T15:28:16Z
Lists: pgsql-hackers
Hi Michael-san,

Sorry for the late reply.

> And backpatched down to v19, catversion bump oblige.
> So I have just switched the code to use PgStat_Counter.
Thanks for picking this up and committing it, and also for catching the
long overflow issue on Win32 along the way.

Thanks also to Bertrand-san and Horiguchi-san for the review and discussion.

Regards,
Tatsuya Kawata

Commits

  1. Change stat_lock.wait_time to double precision