Re: Creation of an empty table is not fsync'd at checkpoint

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Thomas Munro <thomas.munro@gmail.com>
Date: 2023-07-03T12:59:41Z
Lists: pgsql-hackers

Attachments

This patch required a trivial rebase after conflicting with bfcf1b3480 so I've
attached a v2 to get the CFBot to run this.

--
Daniel Gustafsson

Commits

  1. Ensure that creation of an empty relfile is fsync'd at checkpoint.

  2. Fix missing fsync of SLRU directories.