pg_dumpall: simplify coding of dropDBs() There's no need for a StringInfo when all you want is a string being constructed in a single pass.
Author: Álvaro Herrera <[email protected]> Reported-by: Ranier Vilela <[email protected]> Reviewed-by: Yang Yuanzhuo <[email protected]> Reviewed-by: Michael Paquier <[email protected]> Reviewed-by: Andrew Dunstan <[email protected]> Discussion: https://postgr.es/m/caeudqaq2wyxzrdsh+wvhcorungpu+_aqequ12wbcgrme0bq...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a198c26dede50a1fd4c22fb134b53ce8d4f8f5e3 Modified Files -------------- src/bin/pg_dump/pg_dumpall.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-)
