mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
Use appendStringInfoString instead of appendStringInfo where possible.
This shaves a few cycles, and generally seems like good programming practice. David Rowley
This commit is contained in:
@@ -372,7 +372,7 @@ incompatible_module_error(const char *libname,
|
||||
}
|
||||
|
||||
if (details.len == 0)
|
||||
appendStringInfo(&details,
|
||||
appendStringInfoString(&details,
|
||||
_("Magic block has unexpected length or padding difference."));
|
||||
|
||||
ereport(ERROR,
|
||||
|
||||
Reference in New Issue
Block a user