Re: timezone() with timeofday() converts the wrong direction?

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: postgres-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: timezone() with timeofday() converts the wrong direction?
Date: 2005-04-25 16:02:12
Message-ID: 20050425180212.D562@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Apr 25, 2005 at 11:36:23AM -0400, Tom Lane wrote:

> > -------------------------------+-------------------------------
> > 2005-04-24 22:25:51.669218+00 | 2005-04-24 23:25:51.669218+01
>
> It was not really possible in 7.1 either (nor any previous version).
> The secret to the above is that in 7.1 the timezone() function's
> result is *text*, not a timestamp object. So it's purely a display
> artifact ...
Aha, there's the explanation. Thanks, Tom.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2005-04-25 16:08:40 Re: DDL from psql console?
Previous Message John Browne 2005-04-25 16:00:00 Re: DDL from psql console?