Re: newlines at end of generated SQL

From: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: newlines at end of generated SQL
Date: 2014-01-09 17:52:06
Message-ID: CAFcNs+pAQVyvnEqs_v8Gqej29fqxauW=4KNtk7X=8Uw2v7AViQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jan 9, 2014 at 3:34 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>
> On Wed, Jan 8, 2014 at 10:17 PM, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> > Is there a reason why the programs in src/bin/scripts all put newlines
> > at the end of the SQL commands they generate? This produces useless
> > empty lines in the server log (and client output, if selected).
>
> If you're asking whether you can go ahead and fix that, +1 from me.
>

Well... I did that...

Regards,

--
Fabrízio de Royes Mello
Consultoria/Coaching PostgreSQL
>> Timbira: http://www.timbira.com.br
>> Blog sobre TI: http://fabriziomello.blogspot.com
>> Perfil Linkedin: http://br.linkedin.com/in/fabriziomello
>> Twitter: http://twitter.com/fabriziomello

Attachment Content-Type Size
remove-new-line-at-end-of-scripts_v1.patch text/x-diff 5.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-01-09 17:53:36 Re: integrate pg_upgrade analyze_new_cluster.sh into vacuumdb
Previous Message Bruce Momjian 2014-01-09 17:48:11 Re: Standalone synchronous master