File tree Expand file tree Collapse file tree 4 files changed +1
-13
lines changed Expand file tree Collapse file tree 4 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,6 @@ You need to enable WAL archive by adding following lines to postgresql.conf:
102
102
```
103
103
wal_level = archive
104
104
archive_command = 'test ! -f /home/postgres/backup/arman/wal/%f && cp %p /home/postgres/backup/arman/wal/%f'
105
- wal_log_hints = on
106
105
```
107
106
108
107
Example backup (assuming PostgreSQL is running):
Original file line number Diff line number Diff line change @@ -389,8 +389,6 @@ are required if the value contains whitespaces. Comments should start with
389
389
excluding values.
390
390
391
391
### RESTRICTIONS
392
- * In order to work, the PostgreSQL instance on which backups are taken need
393
- to have data checksums enabled or to enable wal_log_hints.
394
392
* pg_arman is aimed at working with PostgreSQL 9.5 and newer versions.
395
393
* For ptrack feature you need special version of Postgres and set wal_level to
396
394
archive or hot_standby and ptrack_enable.
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ function init_backup()
70
70
port = ${TEST_PGPORT}
71
71
logging_collector = on
72
72
wal_level = hot_standby
73
- wal_log_hints = on
73
+ wal_log_hints = off
74
74
archive_mode = on
75
75
archive_command = 'cp %p ${ARCLOG_PATH} /%f'
76
76
ptrack_enable = on
Original file line number Diff line number Diff line change @@ -84,15 +84,6 @@ sanityChecks(void)
84
84
digestControlFile (& ControlFile , buffer , size );
85
85
pg_free (buffer );
86
86
87
- /*
88
- * Node work is done on need to use checksums or hint bit wal-logging
89
- * this to prevent from data corruption that could occur because of
90
- * hint bits.
91
- */
92
- if (ControlFile .data_checksum_version != PG_DATA_CHECKSUM_VERSION &&
93
- !ControlFile .wal_log_hints )
94
- elog (ERROR ,
95
- "target master need to use either data checksums or \"wal_log_hints = on\"." );
96
87
}
97
88
98
89
XLogRecPtr
You can’t perform that action at this time.
0 commit comments