mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Fix up some misusage of appendStringInfo() and friends
Change to appendStringInfoChar() or appendStringInfoString() where those can be used. Author: David Rowley <david.rowley@2ndquadrant.com> Reviewed-by: Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
This commit is contained in:
@ -313,7 +313,7 @@ main(int argc, char *argv[])
|
||||
if (cell->next)
|
||||
appendPQExpBuffer(&sql, "%s,", fmtId(cell->val));
|
||||
else
|
||||
appendPQExpBuffer(&sql, "%s", fmtId(cell->val));
|
||||
appendPQExpBufferStr(&sql, fmtId(cell->val));
|
||||
}
|
||||
}
|
||||
appendPQExpBufferChar(&sql, ';');
|
||||
|
Reference in New Issue
Block a user