pgsql: Relax fsyncing at end of a bulk load that was not WAL-logged

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Relax fsyncing at end of a bulk load that was not WAL-logged
Date: 2024-08-16 12:18:25
Message-ID: E1sevuT-004Qr4-49@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2024-08-16 15:31:36 pgsql: Remove incidental md5() function use from test
Previous Message Heikki Linnakangas 2024-08-16 11:05:25 pgsql: Refactor CopyOneRowTo