Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 3316D9FA178; Fri, 15 Dec 2006 11:46:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 89427-05; Fri, 15 Dec 2006 11:46:05 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 401549FA0FB; Fri, 15 Dec 2006 11:46:18 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id kBFFjuHS009097; Fri, 15 Dec 2006 10:45:56 -0500 (EST) To: Gregory Stark cc: "Martijn van Oosterhout" , "Simon Riggs" , "Kelly Burkhart" , "Evgeny Gridasov" , pgsql-performance@postgresql.org, pgsql-hackers@postgresql.org Subject: Re: [HACKERS] EXPLAIN ANALYZE on 8.2 In-reply-to: <87irgdiccg.fsf@enterprisedb.com> References: <20061214163230.d46f0138.eugrid@fpm.kubsu.ru> <21146.1166112702@sss.pgh.pa.us> <20061214192920.c75385d6.eugrid@fpm.kubsu.ru> <21516.1166114475@sss.pgh.pa.us> <29450.1166141131@sss.pgh.pa.us> <1166178488.3882.56.camel@silverbirch.site> <20061215105008.GD958@svana.org> <87irgdiccg.fsf@enterprisedb.com> Comments: In-reply-to Gregory Stark message dated "Fri, 15 Dec 2006 12:15:59 +0000" Date: Fri, 15 Dec 2006 10:45:56 -0500 Message-ID: <9096.1166197556@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/411 X-Sequence-Number: 22467 Gregory Stark writes: > There are various attempts at providing better timing infrastructure at low > overhead but I'm not sure what's out there currently. I expect to do this what > we'll have to do is invent a pg_* abstraction that has various implementations > on different architectures. You've got to be kidding. Surely it's glibc's responsibility, not ours, to implement gettimeofday correctly for the hardware. regards, tom lane