Re: Unlogged relations and WAL-logging

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Peter Eisentraut <peter@eisentraut.org>, Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-09-15T14:54:30Z
Lists: pgsql-hackers
On 01/09/2023 15:49, Peter Eisentraut wrote:
> Is the patch
> 0003-Remove-unnecessary-smgrimmedsync-when-creating-unlog.patch still
> relevant, or can this commitfest entry be closed?

Yes. Pushed it now, thanks!

-- 
Heikki Linnakangas
Neon (https://neon.tech)




Commits

  1. Remove unnecessary smgrimmedsync() when creating unlogged table.

  2. Fix _bt_allequalimage() call within critical section.

  3. Use the buffer cache when initializing an unlogged index.

  4. WAL-log the creation of the init fork of unlogged indexes.

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

  6. Log the creation of an init fork unconditionally.