aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2021-04-10 08:09:30 +1200
committerThomas Munro <tmunro@postgresql.org>2021-04-10 08:21:53 +1200
commitdc88460c24ed71ba7464ef4749e5f25da1bf6652 (patch)
treee89f1df829b1537cb94e23ab4e9d601455155668 /doc/src
parent49fb4e6b249029e75ccc6b490d76f15cd53d553b (diff)
downloadpostgresql-dc88460c24ed71ba7464ef4749e5f25da1bf6652.tar.gz
postgresql-dc88460c24ed71ba7464ef4749e5f25da1bf6652.zip
Doc: Review for "Optionally prefetch referenced data in recovery."
Typos, corrections and language improvements in the docs, and a few in code comments too. Reported-by: Justin Pryzby <pryzby@telsasoft.com> Discussion: https://postgr.es/m/20210409033703.GP6592%40telsasoft.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml2
-rw-r--r--doc/src/sgml/wal.sgml4
2 files changed, 2 insertions, 4 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 3a062a145ca..cc18b0bbf0a 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -3621,7 +3621,7 @@ include_dir 'conf.d'
pool after that. However, on file systems with a block size larger
than
<productname>PostgreSQL</productname>'s, prefetching can avoid a
- costly read-before-write when a blocks are later written.
+ costly read-before-write when blocks are later written.
The default is off.
</para>
</listitem>
diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml
index 24cf567ee2e..36e00c92c26 100644
--- a/doc/src/sgml/wal.sgml
+++ b/doc/src/sgml/wal.sgml
@@ -816,9 +816,7 @@
prefetching mechanism is most likely to be effective on systems
with <varname>full_page_writes</varname> set to
<varname>off</varname> (where that is safe), and where the working
- set is larger than RAM. By default, prefetching in recovery is enabled
- on operating systems that have <function>posix_fadvise</function>
- support.
+ set is larger than RAM. By default, prefetching in recovery is disabled.
</para>
</sect1>