mirror of
https://github.com/postgres/postgres.git
synced 2025-10-18 04:29: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:
@@ -1516,7 +1516,7 @@ GenerateRecoveryConf(PGconn *conn)
|
||||
|
||||
/* Separate key-value pairs with spaces */
|
||||
if (conninfo_buf.len != 0)
|
||||
appendPQExpBufferStr(&conninfo_buf, " ");
|
||||
appendPQExpBufferChar(&conninfo_buf, ' ');
|
||||
|
||||
/*
|
||||
* Write "keyword=value" pieces, the value string is escaped and/or
|
||||
|
Reference in New Issue
Block a user