Re: Re: timestamp goober - Mailing list pgsql-general

From Alex Pilosov
Subject Re: Re: timestamp goober
Date
Msg-id Pine.BSO.4.10.10102081240390.26806-100000@spider.pilosoft.com
Whole thread Raw
In response to Re: timestamp goober  ("Gregory Wood" <gregw@com-stock.com>)
List pgsql-general
Yes, and that's a feature :)

If you want a wall clock time, use timenow()

-alex

On Thu, 8 Feb 2001, Gregory Wood wrote:

> > columns with default timestamp('now') see to be
> > defaulting to the time I started posgresql!
>
> I noticed that timestamps (in my case CURRENT_TIMESTAMP) are taken from the
> beginning of a transaction. You didn't mention how you were accessing the
> database, but if you were updating everything inside the same transaction,
> everything would be timestamped with the time that transaction began.
>
> Greg
>
>
>



pgsql-general by date:

Previous
From: "Mayers, Philip J"
Date:
Subject: RE: Re: Query never returns ...
Next
From: "Gregory Wood"
Date:
Subject: Re: Re: timestamp goober