File tree 11 files changed +24
-55
lines changed
11 files changed +24
-55
lines changed Original file line number Diff line number Diff line change @@ -10870,9 +10870,15 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
10870
10870
On Linux, <literal>syncfs</literal> may be used instead, to ask the
10871
10871
operating system to synchronize the file systems that contain the
10872
10872
data directory, the WAL files and each tablespace (but not any other
10873
- file systems that may be reachable through symbolic links). See
10874
- <xref linkend="syncfs"/> for more information about using
10875
- <function>syncfs()</function>.
10873
+ file systems that may be reachable through symbolic links). This may
10874
+ be a lot faster than the <literal>fsync</literal> setting, because it
10875
+ doesn't need to open each file one by one. On the other hand, it may
10876
+ be slower if a file system is shared by other applications that
10877
+ modify a lot of files, since those files will also be written to disk.
10878
+ Furthermore, on versions of Linux before 5.8, I/O errors encountered
10879
+ while writing data to disk may not be reported to
10880
+ <productname>PostgreSQL</productname>, and relevant error messages may
10881
+ appear only in kernel logs.
10876
10882
</para>
10877
10883
<para>
10878
10884
This parameter can only be set in the
Original file line number Diff line number Diff line change 182
182
<!ENTITY acronyms SYSTEM "acronyms.sgml">
183
183
<!ENTITY glossary SYSTEM "glossary.sgml">
184
184
<!ENTITY color SYSTEM "color.sgml">
185
- <!ENTITY syncfs SYSTEM "syncfs.sgml">
186
185
187
186
<!ENTITY features-supported SYSTEM "features-supported.sgml">
188
187
<!ENTITY features-unsupported SYSTEM "features-unsupported.sgml">
Original file line number Diff line number Diff line change @@ -289,7 +289,6 @@ break is not needed in a wider output rendering.
289
289
&acronyms;
290
290
&glossary;
291
291
&color;
292
- &syncfs;
293
292
&obsolete;
294
293
295
294
</part>
Original file line number Diff line number Diff line change @@ -394,8 +394,8 @@ PostgreSQL documentation
394
394
On Linux, <literal>syncfs</literal> may be used instead to ask the
395
395
operating system to synchronize the whole file systems that contain the
396
396
data directory, the WAL files, and each tablespace. See
397
- <xref linkend="syncfs "/> for more information about using
398
- <function >syncfs()</function >.
397
+ <xref linkend="guc-recovery-init-sync-method "/> for information about
398
+ the caveats to be aware of when using <literal >syncfs</literal >.
399
399
</para>
400
400
<para>
401
401
This option has no effect when <option>--no-sync</option> is used.
Original file line number Diff line number Diff line change @@ -642,8 +642,8 @@ PostgreSQL documentation
642
642
backup directory. When the plain format is used,
643
643
<command>pg_basebackup</command> will also synchronize the file systems
644
644
that contain the WAL files and each tablespace. See
645
- <xref linkend="syncfs "/> for more information about using
646
- <function >syncfs()</function >.
645
+ <xref linkend="guc-recovery-init-sync-method "/> for information about
646
+ the caveats to be aware of when using <literal >syncfs</literal >.
647
647
</para>
648
648
<para>
649
649
This option has no effect when <option>--no-sync</option> is used.
Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ PostgreSQL documentation
152
152
On Linux, <literal>syncfs</literal> may be used instead to ask the
153
153
operating system to synchronize the whole file systems that contain the
154
154
data directory, the WAL files, and each tablespace. See
155
- <xref linkend="syncfs "/> for more information about using
156
- <function >syncfs()</function >.
155
+ <xref linkend="guc-recovery-init-sync-method "/> for information about
156
+ the caveats to be aware of when using <literal >syncfs</literal >.
157
157
</para>
158
158
<para>
159
159
This option has no effect when <option>--no-sync</option> is used.
Original file line number Diff line number Diff line change @@ -176,8 +176,8 @@ PostgreSQL documentation
176
176
backup directory. When the plain format is used,
177
177
<command>pg_combinebackup</command> will also synchronize the file systems
178
178
that contain the WAL files and each tablespace. See
179
- <xref linkend="syncfs "/> for more information about using
180
- <function >syncfs()</function >.
179
+ <xref linkend="guc-recovery-init-sync-method "/> for information about
180
+ the caveats to be aware of when using <literal >syncfs</literal >.
181
181
</para>
182
182
<para>
183
183
This option has no effect when <option>--no-sync</option> is used.
Original file line number Diff line number Diff line change @@ -1319,8 +1319,9 @@ PostgreSQL documentation
1319
1319
<para>
1320
1320
On Linux, <literal>syncfs</literal> may be used instead to ask the
1321
1321
operating system to synchronize the whole file system that contains the
1322
- archive directory. See <xref linkend="syncfs"/> for more information
1323
- about using <function>syncfs()</function>.
1322
+ archive directory. See <xref linkend="guc-recovery-init-sync-method"/>
1323
+ for information about the caveats to be aware of when using
1324
+ <literal>syncfs</literal>.
1324
1325
</para>
1325
1326
<para>
1326
1327
This option has no effect when <option>--no-sync</option> is used or
Original file line number Diff line number Diff line change @@ -297,8 +297,8 @@ PostgreSQL documentation
297
297
On Linux, <literal>syncfs</literal> may be used instead to ask the
298
298
operating system to synchronize the whole file systems that contain the
299
299
data directory, the WAL files, and each tablespace. See
300
- <xref linkend="syncfs "/> for more information about using
301
- <function >syncfs()</function >.
300
+ <xref linkend="guc-recovery-init-sync-method "/> for information about
301
+ the caveats to be aware of when using <literal >syncfs</literal >.
302
302
</para>
303
303
<para>
304
304
This option has no effect when <option>--no-sync</option> is used.
Original file line number Diff line number Diff line change @@ -204,8 +204,8 @@ PostgreSQL documentation
204
204
On Linux, <literal>syncfs</literal> may be used instead to ask the
205
205
operating system to synchronize the whole file systems that contain the
206
206
upgraded cluster's data directory, its WAL files, and each tablespace.
207
- See <xref linkend="syncfs "/> for more information about using
208
- <function >syncfs()</function >.
207
+ See <xref linkend="guc-recovery-init-sync-method "/> for information
208
+ about the caveats to be aware of when using <literal >syncfs</literal >.
209
209
</para>
210
210
<para>
211
211
This option has no effect when <option>--no-sync</option> is used.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments