mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +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:
@ -5508,8 +5508,8 @@ conninfo_uri_parse_options(PQconninfoOption *options, const char *uri,
|
||||
if (prevchar != ',')
|
||||
break;
|
||||
++p; /* advance past comma separator */
|
||||
appendPQExpBufferStr(&hostbuf, ",");
|
||||
appendPQExpBufferStr(&portbuf, ",");
|
||||
appendPQExpBufferChar(&hostbuf, ',');
|
||||
appendPQExpBufferChar(&portbuf, ',');
|
||||
}
|
||||
|
||||
/* Save final values for host and port. */
|
||||
|
Reference in New Issue
Block a user