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

From Frank Church
Subject Syntax for converting double to a timestamp
Date
Msg-id 84b7c6460609031557w1d5aab2t235ff2bdea2124ea@mail.gmail.com
Whole thread Raw
Responses Re: Syntax for converting double to a timestamp  (Michael Glaesemann <grzm@seespotcode.net>)
Re: Syntax for converting double to a timestamp  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
I am trying to create a view based on this query

 'select *, "timestamp"::timestamp from ccmanager_log'


This is the error I get to below, how do I use the time zone syntax

error: cannot cast tupe double precision to timestamp without time zone

What is the right syntax?


The column to be converted is also called timestamp

F Church

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Serial Updating
Next
From: Michael Glaesemann
Date:
Subject: Re: Syntax for converting double to a timestamp