0001-Fix-EINTR-retry-condition-in-pg_flush_data-sync_file.patch
text/x-patch
Filename: 0001-Fix-EINTR-retry-condition-in-pg_flush_data-sync_file.patch
Type: text/x-patch
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
Series: patch 0001
| File | + | − |
|---|---|---|
| src/backend/storage/file/fd.c | 1 | 1 |
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index a8be066afe0..817855e2720 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -563,7 +563,7 @@ retry:
{
int elevel;
- if (rc == EINTR)
+ if (errno == EINTR)
goto retry;
/*