Why is XLOG_FPI_FOR_HINT always need backups?

From: zwj <757634191(at)qq(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Why is XLOG_FPI_FOR_HINT always need backups?
Date: 2021-07-06 09:58:15
Message-ID: tencent_60F11973A111EED97A8596FFECC4A91ED405@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
check_synchronous_standby_names.patch application/octet-stream 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexey Lesovsky 2021-07-06 10:13:32 Re: Skipping logical replication transactions on subscriber side
Previous Message Andrew Dunstan 2021-07-06 09:50:14 Re: "debug_invalidate_system_caches_always" is too long