Re: fix log_min_duration_statement logic error

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Neil Conway <neilc(at)samurai(dot)com>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix log_min_duration_statement logic error
Date: 2003-10-05 22:38:14
Message-ID: 200310052238.h95McEJ22430@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > Tom Lane writes:
> >> BTW, EXPLAIN ANALYZE puts out
> >> Total runtime: 406.53 msec
> >> Do you want to make an exception to the string freeze to change this
> >> to "ms"?
>
> > I just realized, all the things that are sent as a query result instead of
> > an error or notice are not gettext-enabled. I guess we'll have to do
> > without that in this release. So, making the above change does not pose a
> > problem.
>
> Okay, I'll make that change. Any opinions about the 2-vs-3-digit issue?

Here is the patch that makes psql \timing display three digits:

test=> \timing
Timing is on.
test=> select 1;
?column?
----------
1
(1 row)

Time: 1.306 ms

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 659 bytes

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Stephan Szabo 2003-10-05 22:52:34 Re: Open 7.4 items
Previous Message Bruce Momjian 2003-10-05 22:37:40 Re: fix log_min_duration_statement logic error