Re: current_timestamp wrong

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Peter Pilsl <pilsl(at)goldfisch(dot)at>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: current_timestamp wrong
Date: 2001-08-22 22:32:43
Message-ID: Pine.LNX.4.30.0108230031320.679-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Pilsl writes:

> In a bigger perl-project I had to hunt down a bug and it turned out that on
> very rare occassions the time delivered by 'current_timestamp'
> is wrong by a noticeable amount of time. (up to hours sometimes)

current_timestamp returns the time when the transaction started. This is
wrong, but some developers seem to want to keep it that way.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-general by date

  From Date Subject
Next Message will trillich 2001-08-22 22:37:27 Re: Newbie: Solution?
Previous Message Tom Lane 2001-08-22 22:26:14 Re: current_timestamp wrong