X-Original-To: pgsql-patches-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 473029DC941 for ; Mon, 20 Mar 2006 19:00:14 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94895-08 for ; Mon, 20 Mar 2006 19:00:16 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 58FDF9DCC17 for ; Mon, 20 Mar 2006 19:00:11 -0400 (AST) Received: (qmail invoked by alias); 20 Mar 2006 23:00:13 -0000 Received: from dslb-084-063-042-173.pools.arcor-ip.net (EHLO colt.pezone.net) [84.63.42.173] by mail.gmx.net (mp032) with SMTP; 21 Mar 2006 00:00:13 +0100 X-Authenticated: #495269 From: Peter Eisentraut To: pgsql-patches@postgresql.org Subject: Re: Additional current timestamp values Date: Tue, 21 Mar 2006 00:00:06 +0100 User-Agent: KMail/1.8.3 Cc: Bruce Momjian , Brendan Jurd References: <200603202234.k2KMYOM04077@candle.pha.pa.us> In-Reply-To: <200603202234.k2KMYOM04077@candle.pha.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603210000.07477.peter_e@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.131 required=5 tests=[AWL=0.131] X-Spam-Score: 0.131 X-Spam-Level: X-Archive-Number: 200603/211 X-Sequence-Number: 19215 Bruce Momjian wrote: > Rather than applying the above patch, I have implemented this TODO > with the attached patch: > > * Add transaction_timestamp(), statement_timestamp(), > clock_timestamp() functionality The most common complaint that I recall is that current_timestamp returns the transaction timestamp rather than the statement timestamp, which is what many expect. How does your patch address that? Do we really need clock_timestamp? -- Peter Eisentraut http://developer.postgresql.org/~petere/