Re: to_timestamp overloaded to convert from Unix epoch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Glaesemann <grzm(at)myrealbox(dot)com>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: to_timestamp overloaded to convert from Unix epoch
Date: 2004-08-14 21:12:25
Message-ID: 200408142112.i7ELCPl23307@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


TODO here?

---------------------------------------------------------------------------

Tom Lane wrote:
> Michael Glaesemann <grzm(at)myrealbox(dot)com> writes:
> > 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
>
> > Other than Chris' suggestion of extract(timestamp from epoch)?
>
> [ looks in archives... ] Oh, actually that was *you* --- I was vaguely
> remembering your proposed patch of 2-Aug. You were calling the function
> epoch_to_timestamp at the time.
>
> I like to_timestamp(double) better than these other names ...
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-08-14 21:13:27 Re: to_timestamp overloaded to convert from Unix epoch
Previous Message Peter Eisentraut 2004-08-14 19:16:31 Re: Translation updates for 7.4.4(!!) / 8.0: postgres-ru