Re: Can we automatically add elapsed times to tap test log?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Can we automatically add elapsed times to tap test log?
Date: 2022-04-07 21:45:09
Message-ID: 3484728.1649367909@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> On 2022-04-07 17:21:09 -0400, Tom Lane wrote:
>> I too think that the elapsed time is useful. I'm less convinced
>> that the time-of-day marker is useful.

> I think it'd be quite useful if it had more precision - it's a pita to
> correlate regress_log_* output with server logs.

Fair point. Maybe we could keep the timestamp (with ms precision
if possible) and then the parenthetical bit is time-since-last-line
(also with ms precision)? I think that would more or less satisfy
both uses.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Matthias van de Meent 2022-04-07 21:53:26 Re: Preventing indirection for IndexPageGetOpaque for known-size page special areas
Previous Message Andres Freund 2022-04-07 21:38:35 Re: Can we automatically add elapsed times to tap test log?