Correct a typo and a couple of sentences that weren't updated to reflect
recent changes to the code.
Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/
20220407125555.GC24419%40telsasoft.com
Whether to try to prefetch blocks that are referenced in the WAL that
are not yet in the buffer pool, during recovery. Valid values are
- off (the default), on and
- try. The setting try enables
+ off, on and
+ try (the default). The setting
+ try enables
prefetching only if the operating system provides the
posix_fadvise function, which is currently used
to implement prefetching. Note that some operating systems provide the
The pg_stat_recovery_prefetch view will contain
- only one row. It is filled with nulls if recovery has not run or
- is not enabled. The
- columns wal_distance,
- block_distance
- and io_depth show current values, and the
+ only one row. The columns wal_distance,
+ block_distance and
+ io_depth show current values, and the
other columns show cumulative counters that can be reset
with the pg_stat_reset_shared function.
The and
settings limit prefetching
concurrency and distance, respectively. By default, it is set to
- try, which enabled the feature on systems where
+ try, which enables the feature on systems where
posix_fadvise is available.