diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/adminpack.sgml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/src/sgml/adminpack.sgml b/doc/src/sgml/adminpack.sgml index 2655417366c..977073f7c8d 100644 --- a/doc/src/sgml/adminpack.sgml +++ b/doc/src/sgml/adminpack.sgml @@ -44,6 +44,13 @@ </entry> </row> <row> + <entry><function>pg_catalog.pg_file_sync(filename text)</function></entry> + <entry><type>void</type></entry> + <entry> + Flush a file or directory to disk + </entry> + </row> + <row> <entry><function>pg_catalog.pg_file_rename(oldname text, newname text <optional>, archivename text</optional>)</function></entry> <entry><type>boolean</type></entry> <entry> @@ -80,6 +87,18 @@ </para> <indexterm> + <primary>pg_file_sync</primary> + </indexterm> + <para> + <function>pg_file_sync</function> fsyncs the specified file or directory + named by <parameter>filename</parameter>. An error is thrown + on failure (e.g., the specified file is not present). Note that + <xref linkend="guc-data-sync-retry"/> has no effect on this function, + and therefore a PANIC-level error will not be raised even on failure to + flush database files. + </para> + + <indexterm> <primary>pg_file_rename</primary> </indexterm> <para> |