FORGET_RELATION_FSYNC.patch
text/x-patch
Filename: FORGET_RELATION_FSYNC.patch
Type: text/x-patch
Part: 2
Message:
Fix inconsistencies for v12 (pass 2)
Patch
Format: unified
| File | + | − |
|---|---|---|
| src/backend/postmaster/checkpointer.c | 2 | 2 |
diff --git a/src/backend/postmaster/checkpointer.c b/src/backend/postmaster/checkpointer.c index 13f152b473..6ceff63ae1 100644 --- a/src/backend/postmaster/checkpointer.c +++ b/src/backend/postmaster/checkpointer.c @@ -1213,8 +1213,8 @@ CompactCheckpointerRequestQueue(void) * backwards from the end of the queue and check whether a request is * *preceded* by an earlier, identical request, in the hopes of doing less * copying. But that might change the semantics, if there's an - * intervening FORGET_RELATION_FSYNC or FORGET_DATABASE_FSYNC request, so - * we do it this way. It would be possible to be even smarter if we made + * intervening SYNC_FORGET_REQUEST, so we do it this way. + * It would be possible to be even smarter if we made * the code below understand the specific semantics of such requests (it * could blow away preceding entries that would end up being canceled * anyhow), but it's not clear that the extra complexity would buy us