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: > [EMAIL PROTECTED] psql]# echo "select 0" | psql -tAq > 0 > Time: 1.155 ms > [EMAIL PROTECTED] psql]# psql -tAqc"select 0" > 0
Makes sense to me. Applied and backpatched, thanks! //Magnus ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org