- Notifications
You must be signed in to change notification settings - Fork5
Commita32c3ec
committed
Promote the assertion that XLogBeginInsert() is not called twice into ERROR.
Seems like cheap insurance for WAL bugs. A spurious call toXLogBeginInsert() in itself would be fairly harmless, but if there is anydata registered and the insertion is not completed/cancelled properly, thereis a risk that the data ends up in a wrong WAL record.Per Jeff Janes's suggestion.1 parenta45c70a commita32c3ec
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
125 |
| - | |
126 | 125 |
| |
127 | 126 |
| |
128 | 127 |
| |
129 | 128 |
| |
130 | 129 |
| |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 |
| |
132 | 134 |
| |
133 | 135 |
| |
|
0 commit comments
Comments
(0)