Add pg_file_sync() to adminpack
Fujii Masao <masao.fujii@gmail.com>
From: Fujii Masao <masao.fujii@gmail.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2019-12-25T13:00:36Z
Lists: pgsql-hackers
Attachments
- pg_file_sync_v1.patch (application/octet-stream) patch v1
Hi, I'd like to propose to add pg_file_sync() function into contrib/adminpack. This function fsyncs the specified file or directory named by its argument. IMO this is useful, for example, when you want to fsync the file that pg_file_write() writes out or that COPY TO exports the data into, for durability. Thought? Regards, -- Fujii Masao
Commits
-
Add pg_file_sync() to adminpack extension.
- d694e0bb793e 13.0 landed