From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: scripts: Remove newlines from end of generated SQL |
Date: | 2014-02-11 02:50:20 |
Message-ID: | E1WD3QS-0000D3-MB@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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 <fabriziomello(at)gmail(dot)com>
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-02-11 17:10:59 | pgsql: Cygwin build fixes. |
Previous Message | Tom Lane | 2014-02-11 01:49:07 | pgsql: Don't generate plain-text HISTORY and src/test/regress/README an |