Re: to_timestamp overloaded to convert from Unix epoch - Mailing list pgsql-patches

From Michael Glaesemann
Subject Re: to_timestamp overloaded to convert from Unix epoch
Date
Msg-id CCF3C014-EE11-11D8-831D-000A95C88220@myrealbox.com
Whole thread Raw
In response to Re: to_timestamp overloaded to convert from Unix epoch  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: to_timestamp overloaded to convert from Unix epoch
List pgsql-patches
On Aug 15, 2004, at 1:19 AM, Tom Lane wrote:

> There was however another patch submitted recently that seemed to
> duplicate yours functionally but used a different syntax --- I think
> the
> guy had started by looking at extract(epoch from timestamp) rather than
> to_timestamp.

Other than Chris' suggestion of extract(timestamp from epoch)? I did
find this documentation patch from December 2003 giving an example of
how to convert from Unix epoch to timestamp, but not a function per se.

http://archives.postgresql.org/pgsql-patches/2003-12/msg00112.php

However, I suspect you may thinking of something else.

Michael Glaesemann
grzm myrealbox com


pgsql-patches by date:

Previous
From: Philip Warner
Date:
Subject: pg_restore recognizing $-quotes
Next
From: Tom Lane
Date:
Subject: Re: to_timestamp overloaded to convert from Unix epoch