Why is XLOG_FPI_FOR_HINT always need backups?
zwj <757634191@qq.com>
From: zwj <757634191@qq.com>
To: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-07-06T09:58:15Z
Lists: pgsql-hackers
Attachments
- check_synchronous_standby_names.patch (application/octet-stream) patch
Hi all, When I read the source code file src/backend/access/transam/xloginsert.c, I get something confused me. In the function XLogSaveBufferForHint, the flags are always REGBUF_FORCE_IMAGE which means it is always need backups. Is it right? Why do not check the full_page_writes? -- Zhang Wenjie
Commits
-
Make XLOG_FPI_FOR_HINT records honor full_page_writes setting.
- 7fcf2faf9c7d 15.0 landed