From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: patch to suppress psql timing output in quiet mode |
Date: | 2007-04-16 20:16:42 |
Message-ID: | 4623D9AA.3040601@hagander.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Merlin Moncure wrote:
> I noticed that when psql accepts input from stdin or -f (but not -c),
> and timing is set to on in .psqlrc, timing results are printed out to
> stdout even when -q (quiet) is passed in.
>
> This may not be the perfect solution, but it fixes the problem (I'm
> having problems with bash scripts that are borking on time returned).
>
> current behavior:
> [root(at)mernix psql]# echo "select 0" | psql -tAq
> 0
> Time: 1.155 ms
> [root(at)mernix psql]# psql -tAqc"select 0"
> 0
Makes sense to me. Applied and backpatched, thanks!
//Magnus
From | Date | Subject | |
---|---|---|---|
Next Message | Florian G. Pflug | 2007-04-16 20:16:44 | Re: Hacking on PostgreSQL via GIT |
Previous Message | Tom Lane | 2007-04-16 19:34:17 | Re: Why xlog stuff is done after the filetruncate op in smgrtruncate? |
From | Date | Subject | |
---|---|---|---|
Next Message | Zoltan Boszormenyi | 2007-04-16 20:54:45 | Re: Re: IDENTITY/GENERATED v36 Re: [PATCHES] Final version of IDENTITY/GENERATED patch |
Previous Message | Stefan Huehner | 2007-04-16 19:31:39 | Re: Remove warning about const qualifier |