Re: Converting epoch to timestamp

From: Michael Glaesemann <grzm(at)myrealbox(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Converting epoch to timestamp
Date: 2004-07-16 06:59:01
Message-ID: 9E07D8B0-D6F5-11D8-BD2A-000A95C88220@myrealbox.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On Jul 16, 2004, at 3:08 PM, Christopher Kings-Lynne wrote:

> SELECT EXTRACT(TIMESTAMP FROM EPOCH '123412341234');

That's a really interesting idea! Makes for a much more consistent
syntax for our other functions. ISTM this might require a native EPOCH
datatype. I wouldn't want to encourage people to use EPOCH as a
datatype though.

Michael Glaesemann
grzm myrealbox com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2004-07-16 07:40:44 Re: Point in Time Recovery
Previous Message Dann Corbit 2004-07-16 06:38:55 Re: [pgsql-hackers-win32] Weird new time zone