diff options
author | David Rowley <drowley@postgresql.org> | 2025-04-11 10:07:22 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2025-04-11 10:07:22 +1200 |
commit | 928394b664bc4afef2fe6dc69a70e4074886e065 (patch) | |
tree | 820653f798f03379ef7f14108ddbabc5219a45ba /contrib/dblink/dblink.c | |
parent | 55ef7abf88c07e9f716846e645e1628c667c54a7 (diff) | |
download | postgresql-928394b664bc4afef2fe6dc69a70e4074886e065.tar.gz postgresql-928394b664bc4afef2fe6dc69a70e4074886e065.zip |
Improve various new-to-v18 appendStringInfo calls
Similar to 8461424fd, here we adjust a few new locations which were not
using the most suitable appendStringInfo* function for the intended
purpose.
Author: David Rowley <drowleyml@gmail.com
Discussion: https://postgr.es/m/CAApHDvqJnNjueb=Eoj8K+8n0g7nj_AcPWSiCj5RNV4fDejAfqA@mail.gmail.com
Diffstat (limited to 'contrib/dblink/dblink.c')
-rw-r--r-- | contrib/dblink/dblink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dblink/dblink.c b/contrib/dblink/dblink.c index c2e695e364e..092f0753ff5 100644 --- a/contrib/dblink/dblink.c +++ b/contrib/dblink/dblink.c @@ -3228,7 +3228,7 @@ appendSCRAMKeysInfo(StringInfo buf) appendStringInfo(buf, "scram_client_key='%s' ", client_key); appendStringInfo(buf, "scram_server_key='%s' ", server_key); - appendStringInfo(buf, "require_auth='scram-sha-256' "); + appendStringInfoString(buf, "require_auth='scram-sha-256' "); pfree(client_key); pfree(server_key); |