forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit129a2f6
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 parent9e43ab3 commit129a2f6
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1408 | 1408 |
| |
1409 | 1409 |
| |
1410 | 1410 |
| |
1411 |
| - | |
| 1411 | + | |
1412 | 1412 |
| |
1413 | 1413 |
| |
1414 | 1414 |
| |
|
0 commit comments
Comments
(0)