mirror of
https://github.com/postgres/postgres.git
synced 2025-08-18 12:22:09 +03:00
Use appendStringInfoString/Char et al where appropriate.
Patch by David Rowley. Backpatch to 9.5, as some of the calls were new in 9.5, and keeping the code in sync with master makes future backpatching easier.
This commit is contained in:
@@ -113,7 +113,7 @@ gin_desc(StringInfo buf, XLogReaderState *record)
|
||||
(ginxlogRecompressDataLeaf *) payload;
|
||||
|
||||
if (XLogRecHasBlockImage(record, 0))
|
||||
appendStringInfo(buf, " (full page image)");
|
||||
appendStringInfoString(buf, " (full page image)");
|
||||
else
|
||||
desc_recompress_leaf(buf, insertData);
|
||||
}
|
||||
@@ -147,7 +147,7 @@ gin_desc(StringInfo buf, XLogReaderState *record)
|
||||
ginxlogVacuumDataLeafPage *xlrec = (ginxlogVacuumDataLeafPage *) rec;
|
||||
|
||||
if (XLogRecHasBlockImage(record, 0))
|
||||
appendStringInfo(buf, " (full page image)");
|
||||
appendStringInfoString(buf, " (full page image)");
|
||||
else
|
||||
desc_recompress_leaf(buf, &xlrec->data);
|
||||
}
|
||||
|
Reference in New Issue
Block a user