forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit81fc89a
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 parent1790b35 commit81fc89a
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1937 | 1937 |
| |
1938 | 1938 |
| |
1939 | 1939 |
| |
1940 |
| - | |
| 1940 | + | |
1941 | 1941 |
| |
1942 | 1942 |
| |
1943 | 1943 |
| |
|
0 commit comments
Comments
(0)