Re: Syntax for converting double to a timestamp - Mailing list pgsql-general

From Tom Lane
Subject Re: Syntax for converting double to a timestamp
Date
Msg-id 2635.1157330974@sss.pgh.pa.us
Whole thread Raw
In response to Re: Syntax for converting double to a timestamp  ("Frank Church" <voipfc@googlemail.com>)
List pgsql-general
"Frank Church" <voipfc@googlemail.com> writes:
> I tried the query in this form:

> select *, "timestamp" * interval '1 second' + timestamp '1900-01-01
> 00:00:00' from ccmanager_log

Try timestamp plus interval, instead of the other way.  (We did add the
operator in this direction in 8.0 though ... perhaps you should consider
an update sometime?)

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: compressed protocol
Next
From: Chris
Date:
Subject: Re: One step install, up and running?