Re: CURRENT_TIMESTAMP vs actual time - Mailing list pgsql-general

From Alban Hertroys
Subject Re: CURRENT_TIMESTAMP vs actual time
Date
Msg-id 4267CDF8.7060305@magproductions.nl
Whole thread Raw
In response to Re: CURRENT_TIMESTAMP vs actual time  (Thomas Hallgren <thhal@mailblocks.com>)
List pgsql-general
Thomas Hallgren wrote:
> Why use timeofday() at all? Why not now(). It will return a timestamptz
> without casts.

For the same reason that the OP couldn't use CURRENT_TIMESTAMP. It
returns the timestamp of the start of the transaction.

--
Alban Hertroys
MAG Productions

T: +31(0)53 4346874
F: +31(0)53 4346876
E: alban@magproductions.nl
W: http://www.magproductions.nl

pgsql-general by date:

Previous
From: mmiranda@americatel.com.sv
Date:
Subject: Most specific match using between
Next
From: Scott Marlowe
Date:
Subject: Re: CURRENT_TIMESTAMP vs actual time