v21--v22-diff-for-0002.patch
text/x-patch
Filename: v21--v22-diff-for-0002.patch
Type: text/x-patch
Part: 6
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: format-patch
Series: patch v21
Subject: fixes for 0002 patch
| File | + | − |
|---|---|---|
| src/backend/access/heap/vacuumlazy.c | 4 | 4 |
From dd5df106946a188342992f50e587f269881cacae Mon Sep 17 00:00:00 2001
From: Daniil Davidov <d.davydov@postgrespro.ru>
Date: Fri, 27 Feb 2026 14:03:51 +0700
Subject: [PATCH] fixes for 0002 patch
---
src/backend/access/heap/vacuumlazy.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/backend/access/heap/vacuumlazy.c b/src/backend/access/heap/vacuumlazy.c
index d19e15cbcce..91be2502c09 100644
--- a/src/backend/access/heap/vacuumlazy.c
+++ b/src/backend/access/heap/vacuumlazy.c
@@ -1139,7 +1139,7 @@ heap_vacuum_rel(Relation rel, const VacuumParams params,
{
/* Worker usage stats for parallel autovacuum. */
appendStringInfo(&buf,
- _("parallel index vacuum: %d workers were planned, %d workers were reserved and %d workers were launched in total\n"),
+ _("parallel workers: index vacuum: %d planned, %d reserved, %d launched in total\n"),
vacrel->workers_usage.vacuum.nplanned,
vacrel->workers_usage.vacuum.nreserved,
vacrel->workers_usage.vacuum.nlaunched);
@@ -1148,7 +1148,7 @@ heap_vacuum_rel(Relation rel, const VacuumParams params,
{
/* Worker usage stats for manual VACUUM (PARALLEL). */
appendStringInfo(&buf,
- _("parallel index vacuum: %d workers were planned and %d workers were launched in total\n"),
+ _("parallel workers: index vacuum: %d planned, %d launched in total\n"),
vacrel->workers_usage.vacuum.nplanned,
vacrel->workers_usage.vacuum.nlaunched);
}
@@ -1161,7 +1161,7 @@ heap_vacuum_rel(Relation rel, const VacuumParams params,
{
/* Worker usage stats for parallel autovacuum. */
appendStringInfo(&buf,
- _("parallel index cleanup: %d workers were planned, %d workers were reserved and %d workers were launched in total\n"),
+ _("parallel workers: index cleanup: %d planned, %d reserved, %d launched\n"),
vacrel->workers_usage.cleanup.nplanned,
vacrel->workers_usage.cleanup.nreserved,
vacrel->workers_usage.cleanup.nlaunched);
@@ -1170,7 +1170,7 @@ heap_vacuum_rel(Relation rel, const VacuumParams params,
{
/* Worker usage stats for manual VACUUM (PARALLEL). */
appendStringInfo(&buf,
- _("parallel index cleanup: %d workers were planned and %d workers were launched in total\n"),
+ _("parallel workers: index cleanup: %d planned, %d launched\n"),
vacrel->workers_usage.cleanup.nplanned,
vacrel->workers_usage.cleanup.nlaunched);
}
--
2.43.0