From: | Florian Pflug <fgp(at)phlo(dot)org> |
---|---|
To: | Greg Smith <greg(at)2ndquadrant(dot)com> |
Cc: | PostgreSQL-development hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Patch to show individual statement latencies in pgbench output |
Date: | 2010-08-05 22:05:24 |
Message-ID: | CF8033D9-741C-438A-9D96-D41F1C47B491@phlo.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Aug4, 2010, at 13:58 , Florian Pflug wrote:
> On Aug3, 2010, at 21:16 , Greg Smith wrote:
>>> That was a leftover of the trimming and comment skipping logic, which my patch moves to process_command.
>>
>> I think there's still a trimming error here--line 195 of the new patch is now removing the declaration of "i" just before it sets it to zero?
> Hm, I think it's just the diff thats miss-leading there. It correctly marks the "int i" line as "removed" with a "-", but for some reason marks the "i = 0" line (and its successors) with a "!", although they're removed too, and not modified.
>
>> On the coding standard side, I noticed all your for loops are missing a space between the for and the (; that should get fixed.
> Fixed
Crap. I've messed up to the effect that the for-loop formatting fix wasn't actually in the patch.
Attached is an updated version (v4).
Sorry for the noise.
best regards,
Florian Pflug
Attachment | Content-Type | Size |
---|---|---|
pgbench_statementlatency_v4.patch | application/octet-stream | 13.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-08-05 22:13:29 | Re: PL/pgSQL EXECUTE '..' USING with unknown |
Previous Message | Andrew Dunstan | 2010-08-05 21:31:49 | Re: PL/pgSQL EXECUTE '..' USING with unknown |