File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,12 @@ extern PGDLLIMPORT int wal_level;
130130 * of the bits make it to disk, but the checksum wouldn't match. Also WAL-log
131131 * them if forced by wal_log_hints=on.
132132 */
133- #define XLogHintBitIsNeeded () (DataChecksumsEnabled() || wal_log_hints)
133+ /*
134+ * NEON: don't force FPI if checksums are enabled. As mentioned above it was
135+ * done to protect from torn pages, but we don't seem to have this problem
136+ * in Neon as all pages arrive to pageserver via WAL.
137+ */
138+ #define XLogHintBitIsNeeded () (wal_log_hints)
134139
135140/* Do we need to WAL-log information required only for Hot Standby and logical replication? */
136141#define XLogStandbyInfoActive () (wal_level >= WAL_LEVEL_REPLICA)
You can’t perform that action at this time.
0 commit comments