X-Original-To: pgsql-performance@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B248047635D for ; Tue, 29 Apr 2003 12:02:07 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 76AB7476372 for ; Tue, 29 Apr 2003 12:01:30 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h3TG1ZU6001911; Tue, 29 Apr 2003 12:01:35 -0400 (EDT) To: mallah@trade-india.com Cc: pgsql-performance@postgresql.org Subject: Re: profiling plpgsql functions.. In-reply-to: <1066.219.65.230.214.1051631768.squirrel@mail.trade-india.com> References: <200304291655.01035.mallah@trade-india.com> <26413.1051626475@sss.pgh.pa.us> <1066.219.65.230.214.1051631768.squirrel@mail.trade-india.com> Comments: In-reply-to message dated "Tue, 29 Apr 2003 21:26:08 +0530" Date: Tue, 29 Apr 2003 12:01:35 -0400 Message-ID: <1910.1051632095@sss.pgh.pa.us> From: Tom Lane X-Spam-Status: No, hits=-14.8 required=5.0 tests=BAYES_00,IN_REP_TO,NO_DNS_FOR_FROM,REFERENCES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/251 X-Sequence-Number: 1757 writes: > hmm shud i cast timeofday to timestamp and use timestamp > arithmatic ? Yeah. It's only historical accident that it doesn't return timestamp... (or better use timestamptz) regards, tom lane