forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite34358c
committed
Flush logical mapping files with fd opened for read/write at checkpoint
The file descriptor was opened with read-only to fsync a regular file,which would cause EBADFD errors on some platforms.This is similar to the recent fix done bya586cc4 (which was broken byme with82a5649), except that I noticed this issue while monitoring thebackend code for similar mistakes. Backpatch to 9.4, as this has beenintroduced since logical decoding exists as ofb89e151.Author: Michael PaquierReviewed-by: Andres FreundDiscussion:https://postgr.es/m/20191006045548.GA14532@paquier.xyzBackpatch-through: 9.41 parente4ca62b commite34358c
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1278 | 1278 |
| |
1279 | 1279 |
| |
1280 | 1280 |
| |
1281 |
| - | |
| 1281 | + | |
| 1282 | + | |
1282 | 1283 |
| |
1283 | 1284 |
| |
1284 | 1285 |
| |
|
0 commit comments
Comments
(0)