Commit 7250d85
committed
Fix building with WAL_DEBUG.
Now that the backup blocks are appended to the WAL record in xloginsert.c,
XLogInsert doesn't see them anymore and cannot remove them from the version
reconstructed for xlog_outdesc. This makes running with wal_debug=on more
expensive, as we now make (unnecessary) temporary copies of the backup
blocks, but it doesn't seem worth convoluting the code to keep that
optimization.
Reported by Alvaro Herrera.1 parent 5ea86e6 commit 7250d85
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1067 | 1067 | | |
1068 | 1068 | | |
1069 | 1069 | | |
1070 | | - | |
1071 | | - | |
| 1070 | + | |
1072 | 1071 | | |
1073 | | - | |
1074 | | - | |
1075 | 1072 | | |
1076 | 1073 | | |
1077 | 1074 | | |
| |||
0 commit comments