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
> Time: 1.155 ms
> [root(at)mernix psql]# psql -tAqc"select 0"
Makes sense to me. Applied and backpatched, thanks!
In response to
pgsql-hackers by date
|Next:||From: Florian G. Pflug||Date: 2007-04-16 20:16:44|
|Subject: Re: Hacking on PostgreSQL via GIT|
|Previous:||From: Tom Lane||Date: 2007-04-16 19:34:17|
|Subject: Re: Why xlog stuff is done after the filetruncate op in smgrtruncate? |
pgsql-patches by date
|Next:||From: Zoltan Boszormenyi||Date: 2007-04-16 20:54:45|
|Subject: Re: Re: IDENTITY/GENERATED v36 Re: [PATCHES] Final version
of IDENTITY/GENERATED patch|
|Previous:||From: Stefan Huehner||Date: 2007-04-16 19:31:39|
|Subject: Re: Remove warning about const qualifier|