diff options
author | David Rowley | 2025-04-10 22:07:22 +0000 |
---|---|---|
committer | David Rowley | 2025-04-10 22:07:22 +0000 |
commit | 928394b664bc4afef2fe6dc69a70e4074886e065 (patch) | |
tree | 820653f798f03379ef7f14108ddbabc5219a45ba /src/backend/replication/logical/relation.c | |
parent | 55ef7abf88c07e9f716846e645e1628c667c54a7 (diff) |
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 <[email protected]
Discussion: https://postgr.es/m/CAApHDvqJnNjueb=Eoj8K+8n0g7nj_AcPWSiCj5RNV4fDejAfqA@mail.gmail.com
Diffstat (limited to 'src/backend/replication/logical/relation.c')
-rw-r--r-- | src/backend/replication/logical/relation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/logical/relation.c b/src/backend/replication/logical/relation.c index 46d15b824e3..f59046ad620 100644 --- a/src/backend/replication/logical/relation.c +++ b/src/backend/replication/logical/relation.c @@ -238,7 +238,7 @@ logicalrep_get_attrs_str(LogicalRepRelation *remoterel, Bitmapset *atts) { attcnt++; if (attcnt > 1) - appendStringInfo(&attsbuf, _(", ")); + appendStringInfoString(&attsbuf, _(", ")); appendStringInfo(&attsbuf, _("\"%s\""), remoterel->attnames[i]); } |