Relax fsyncing at end of a bulk load that was not WAL-logged
And improve the comments.
Backpatch to v17 where this was introduced.
Reviewed-by: Noah Misch
Discussion: https://www.postgresql.org/message-id/cac7d1b6-8358-40be-af0b-21bc9b27d34c@iki.fi
Branch
------
REL_17_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/68f199cea3b190ba0bc2c83d92d17e7e1792a141
Modified Files
--------------
src/backend/storage/smgr/bulk_write.c | 72 +++++++++++++++++++++++++++++------
1 file changed, 61 insertions(+), 11 deletions(-)