Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1BBB8475E24 for ; Mon, 23 Sep 2002 22:01:34 -0400 (EDT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id 10E66475C8B for ; Mon, 23 Sep 2002 22:01:32 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g8O216G22740; Mon, 23 Sep 2002 22:01:06 -0400 (EDT) From: Bruce Momjian Message-Id: <200209240201.g8O216G22740@candle.pha.pa.us> Subject: Re: [GENERAL] CURRENT_TIMESTAMP In-Reply-To: <200209231853.36530.josh@agliodbs.com> To: josh@agliodbs.com Date: Mon, 23 Sep 2002 22:01:06 -0400 (EDT) Cc: Tom Lane , Manfred Koizar , Aaron Held , Roberto Mello , Neil Conway , pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/285 X-Sequence-Number: 9562 Josh Berkus wrote: > > Tom, Bruce, > > > > A possible compromise is to dissociate now() and current_timestamp, > > > allowing the former to be start of transaction and the latter to be > > > start of client command. > > > > I was thinking 'transaction_timestamp' for the transaction start time, and > > current_timestamp for the statement start time. I would equate now() > > with current_timestamp. > > May I point out that this will break compatibility for those used to the > current behavior? I am not saying we have to make that change. My point is that our current behavior may not be the most intuitive, and that most people may prefer a change. Any such change would be documented in the release notes. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073