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
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/077ad4bd76b12cd4144e40ef5fba3f49528fa5e4
Modified Files
--------------
src/backend/storage/smgr/bulk_write.c | 72 +++++++++++++++++++++++++++++------
1 file changed, 61 insertions(+), 11 deletions(-)