Re: values from now() in the same transaction

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Vladimir Zelinski <zelvlad(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: values from now() in the same transaction
Date: 2007-02-16 21:02:36
Message-ID: 20070216210236.GJ870@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vladimir Zelinski wrote:

> I don't believe that it's bug, probably it's a feature
> of the postgreSql database.

Correct.

> Is any way to insert a timestamp within the same
> transaction that would have current system time (not
> time of the beginning of the transaction)?

timeofday()

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Kirkness 2007-02-16 21:13:24 open source - content management system - that uses PostGreSQL
Previous Message Vladimir Zelinski 2007-02-16 20:32:28 values from now() in the same transaction