- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit17d8bba
committed
Fix copy-paste error related to the autovacuum launcher in pgstat_io.c
Autovacuum launchers perform no WAL IO reads, but pgstat_tracks_io_op()was tracking them as an allowed combination for the "init" and "normal"contexts.This caused the "read", "read_bytes" and "read_time" attributes ofpg_stat_io to show zeros for the autovacuum launcher rather than NULL.NULL means that a combination of IO object, IO context and IO operationhas no meaning for a backend type. Zero is the same as telling that acombination is relevant, and that WAL reads are possible in anautovacuum launcher, but it is not relevant.Copy-pasto introduced ina051e71.Author: Ranier Vilela <ranier.vf@gmail.com>Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com>Discussion:https://postgr.es/m/CAEudQAopEMAPiUqE7BvDV+x2fUPmKmb9RrsaoDR+hhQzLKg4PQ@mail.gmail.com1 parentf4290f2 commit17d8bba
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
512 | 512 |
| |
513 | 513 |
| |
514 | 514 |
| |
515 |
| - | |
| 515 | + | |
516 | 516 |
| |
517 | 517 |
| |
518 | 518 |
| |
|
0 commit comments
Comments
(0)