Re: values from now() in the same transaction

From: Vladimir Zelinski <zelvlad(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: values from now() in the same transaction
Date: 2007-02-16 21:35:49
Message-ID: 485535.22111.qm@web52712.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you very much.
It works.

Vladimir

--- Alvaro Herrera <alvherre(at)commandprompt(dot)com> wrote:

> 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
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org/
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2007-02-16 21:43:36 Re: Small request re error message
Previous Message Vivek Khera 2007-02-16 21:27:20 Re: Have anyone this man e-mail ?