- Notifications
You must be signed in to change notification settings - Fork5
Commitcf051c4
committed
Fix logical decoding bug leading to inefficient reopening of files.
When spilling transaction data to disk a simple typo caused the outputfile to be closed and reopened for every serialized change. That happensto not have a huge impact on linux, which is why it probably wasn'tnoticed so far, but on windows that appears to trigger actual diskwrites after every change. Not fun.The bug fortunately does not have any impact besides speed. A changecould end up being in the wrong segment (last instead of next), butsince we read all files to the end, that's just ugly, not reallyproblematic. It's not a problem to upgrade, since transaction spillfiles do not persist across restarts.Bug: #13484Reported-By: Olivier GosseaumeDiscussion: 20150703090217.1190.63940@wrigleys.postgresql.orgBackpatch to 9.4, where logical decoding was added.1 parent8022b0a commitcf051c4
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2009 | 2009 |
| |
2010 | 2010 |
| |
2011 | 2011 |
| |
2012 |
| - | |
| 2012 | + | |
2013 | 2013 |
| |
2014 | 2014 |
| |
2015 | 2015 |
| |
|
0 commit comments
Comments
(0)