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