forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdd20f95
committed
Fix incorrect pg_stat_io output on 32-bit machines.
pg_stat_get_io() applied TimestampTzGetDatum twice to thestat_reset_timestamp value. On 64-bit builds that's harmless becauseTimestampTzGetDatum is a no-op, but on 32-bit builds it results indisplaying garbage in the stats_reset column of the pg_stat_io view.Bug dates to commita9c70b4 which introduced pg_stat_io, soback-patch to v16 where that came in.Bertrand DrouvotDiscussion:https://postgr.es/m/Ztrd+XcPTz1zorkg@ip-10-97-1-34.eu-west-3.compute.internal1 parent4fd4d76 commitdd20f95
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1402 | 1402 |
| |
1403 | 1403 |
| |
1404 | 1404 |
| |
1405 |
| - | |
| 1405 | + | |
1406 | 1406 |
| |
1407 | 1407 |
| |
1408 | 1408 |
| |
|
0 commit comments
Comments
(0)