Re: "SELECT IN" Still Broken in 7.4b

From: Bertrand Petit <pgsql-sql(at)phoe(dot)frmug(dot)org>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: "SELECT IN" Still Broken in 7.4b
Date: 2003-08-22 06:32:32
Message-ID: 20030822083232.C81672@memo.frmug.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wed, Aug 20, 2003 at 04:32:19PM -0400, Tom Lane wrote:
>
> against actual elapsed time (cf psql's \timing option) would tell.

What is measured by the \timing option? The figures reported
are slightly larger than those loged when the log_duration parameter
is true.

=> select count(*) from foo;
count
--------
362921
(1 row)

Time: 5500.88 ms

while in syslog, the timing was "LOG: duration: 5.499783 sec". There
is a difference of 1.097 ms.

In both cases what is this duration? Real time or CPU time?

--
%!PS
297.6 420.9 translate 90 rotate 0 setgray gsave 0 1 1{pop 0 180 moveto 100
180 170 100 170 -10 curveto 180 -9 180 -9 190 -10 curveto 190 100 100 180
0 180 curveto fill 180 rotate}for grestore/Bookman-LightItalic findfont
240 scalefont setfont -151.536392 -63.7998886 moveto (bp)show showpage

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tomasz Myrta 2003-08-22 06:42:13 Re: date calculation
Previous Message denis 2003-08-22 06:27:14 Re: Porting from PL/SQL to PLPGSQL