pgsql: scripts: Remove newlines from end of generated SQL
pgsql: scripts: Remove newlines from end of generated SQL
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
scripts: Remove newlines from end of generated SQL This results in spurious empty lines in the server log. Instead, add the newlines only when printing out the --echo output. In some cases, this was already done, leading to two newlines being printed. Clean that up as well. From: Fabrízio de Royes Mello Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/d3c4c471553265e7517be24bae64b81967f6df40 Modified Files -------------- src/bin/scripts/clusterdb.c | 2 +- src/bin/scripts/createdb.c | 8 ++++---- src/bin/scripts/createlang.c | 6 +++--- src/bin/scripts/createuser.c | 4 ++-- src/bin/scripts/dropdb.c | 4 ++-- src/bin/scripts/droplang.c | 4 ++-- src/bin/scripts/dropuser.c | 4 ++-- src/bin/scripts/reindexdb.c | 4 ++-- src/bin/scripts/vacuumdb.c | 2 +- 9 files changed, 19 insertions(+), 19 deletions(-)