Re: Suggestions for 7.3 date handling

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: <lockhart(at)fourpalms(dot)org>, Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Suggestions for 7.3 date handling
Date: 2002-02-07 16:43:42
Message-ID: Pine.LNX.4.30.0202071141130.683-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne writes:

> OK, we have some legacy columns that use int4 as their type. It would be
> nice to be able to do easy date handling with them.
>
> eg. EXTRACT(TIMESTAMP FROM EPOCH '1081237846')

timestamp 'epoch' + interval '1 second' * your_int

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-02-07 16:58:34 Implementation details of schema permissions?
Previous Message mkscott 2002-02-07 16:13:02 Re: Threaded PosgreSQL server