forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc2a6724
committed
Pass more than the first XLogRecData entry to rm_desc, with WAL_DEBUG.
If you compile with WAL_DEBUG and enable it with wal_debug=on, we used toonly pass the first XLogRecData entry to the rm_desc routine. I think theoriginal assumprion was that the first XLogRecData entry contains all thenecessary information for the rm_desc routine, but that's a pretty shakyassumption. At least standby_redo didn't get the memo.To fix, piece together all the data in a temporary buffer, and pass that tothe rm_desc routine.It's been like this forever, but the patch didn't apply cleanly toback-branches. Probably wouldn't be hard to fix the conflicts, but it'snot worth the trouble.1 parentb69c4e6 commitc2a6724
1 file changed
+16
-1
lines changedLines changed: 16 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1262 | 1262 |
| |
1263 | 1263 |
| |
1264 | 1264 |
| |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
| 1274 | + | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
1265 | 1279 |
| |
1266 |
| - | |
| 1280 | + | |
| 1281 | + | |
1267 | 1282 |
| |
1268 | 1283 |
| |
1269 | 1284 |
| |
|
0 commit comments
Comments
(0)