From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | josh(at)agliodbs(dot)com |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Manfred Koizar <mkoi-pg(at)aon(dot)at>, Aaron Held <aaron(at)MetroNY(dot)com>, Roberto Mello <rmello(at)cc(dot)usu(dot)edu>, Neil Conway <neilc(at)samurai(dot)com>, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: [GENERAL] CURRENT_TIMESTAMP |
Date: | 2002-09-24 02:01:06 |
Message-ID: | 200209240201.g8O216G22740@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers pgsql-sql |
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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | elein | 2002-09-24 02:10:48 | Re: PostgreSQL 7.3: help on new CREATE TYPE |
Previous Message | Bruce Momjian | 2002-09-24 01:59:07 | Conference, training |
From | Date | Subject | |
---|---|---|---|
Next Message | elein | 2002-09-24 02:10:48 | Re: PostgreSQL 7.3: help on new CREATE TYPE |
Previous Message | Josh Berkus | 2002-09-24 01:53:36 | Re: [GENERAL] CURRENT_TIMESTAMP |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2002-09-24 02:11:48 | Re: [SQL] Monitoring a Query |
Previous Message | Josh Berkus | 2002-09-24 01:53:36 | Re: [GENERAL] CURRENT_TIMESTAMP |