pgsql: Fix constant when extracting timestamp from UUIDv7.

2025-08-15 Thread Masahiko Sawada
Fix constant when extracting timestamp from UUIDv7. When extracting a timestamp from a UUIDv7, a conversion from milliseconds to microseconds was using the incorrect constant NS_PER_US instead of US_PER_MS. Although both constants have the same value, this fix improves code clarity by using the se

pgsql: Fix constant when extracting timestamp from UUIDv7.

2025-08-15 Thread Masahiko Sawada
Fix constant when extracting timestamp from UUIDv7. When extracting a timestamp from a UUIDv7, a conversion from milliseconds to microseconds was using the incorrect constant NS_PER_US instead of US_PER_MS. Although both constants have the same value, this fix improves code clarity by using the se