Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 96E82475B8F for ; Mon, 23 Sep 2002 23:38:07 -0400 (EDT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id E22FA475C8B for ; Mon, 23 Sep 2002 23:38:05 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g8O3bjq01954; Mon, 23 Sep 2002 23:37:45 -0400 (EDT) From: Bruce Momjian Message-Id: <200209240337.g8O3bjq01954@candle.pha.pa.us> Subject: Re: [GENERAL] CURRENT_TIMESTAMP In-Reply-To: <9760.1032838513@sss.pgh.pa.us> To: Tom Lane Date: Mon, 23 Sep 2002 23:37:45 -0400 (EDT) Cc: josh@agliodbs.com, 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/291 X-Sequence-Number: 9568 Tom Lane wrote: > Bruce Momjian writes: > > 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. > > So you want to both (a) invent even more nonstandard syntax than we > already have, and (b) break as many traditional-Postgres applications > as you possibly can? No, but I would like to see you stop makeing condescending replies to emails. How is that! > 'transaction_timestamp' has no reason to live. It's not in the spec. > And AFAIK the behavior of now() has been well-defined since the > beginning of Postgres. If you want to change 'current_timestamp' to > conform to a rather debatable reading of the spec, then fine --- but > keep your hands off of now(). Oh, really. When you get down off your chair we can vote on it. -- 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