diff options
Diffstat (limited to 'src/backend/access')
-rw-r--r-- | src/backend/access/brin/brin_minmax_multi.c | 2 | ||||
-rw-r--r-- | src/backend/access/heap/vacuumlazy.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/access/brin/brin_minmax_multi.c b/src/backend/access/brin/brin_minmax_multi.c index bd14184d767..c62a3c8ba8c 100644 --- a/src/backend/access/brin/brin_minmax_multi.c +++ b/src/backend/access/brin/brin_minmax_multi.c @@ -3084,7 +3084,7 @@ brin_minmax_multi_summary_out(PG_FUNCTION_ARGS) a = FunctionCall1(&fmgrinfo, ranges_deserialized->values[idx++]); - appendStringInfo(&str, "%s", DatumGetPointer(a)); + appendStringInfoString(&str, DatumGetPointer(a)); b = cstring_to_text(str.data); diff --git a/src/backend/access/heap/vacuumlazy.c b/src/backend/access/heap/vacuumlazy.c index ad3feb88b3b..4b600e951a5 100644 --- a/src/backend/access/heap/vacuumlazy.c +++ b/src/backend/access/heap/vacuumlazy.c @@ -783,18 +783,18 @@ heap_vacuum_rel(Relation rel, VacuumParams *params, msgfmt = _(" %u pages from table (%.2f%% of total) had %lld dead item identifiers removed\n"); if (vacrel->nindexes == 0 || vacrel->num_index_scans == 0) - appendStringInfo(&buf, _("index scan not needed:")); + appendStringInfoString(&buf, _("index scan not needed:")); else - appendStringInfo(&buf, _("index scan needed:")); + appendStringInfoString(&buf, _("index scan needed:")); } else { msgfmt = _(" %u pages from table (%.2f%% of total) have %lld dead item identifiers\n"); if (!vacrel->do_failsafe) - appendStringInfo(&buf, _("index scan bypassed:")); + appendStringInfoString(&buf, _("index scan bypassed:")); else - appendStringInfo(&buf, _("index scan bypassed by failsafe:")); + appendStringInfoString(&buf, _("index scan bypassed by failsafe:")); } orig_rel_pages = vacrel->rel_pages + vacrel->pages_removed; appendStringInfo(&buf, msgfmt, |