I tried to use the unixdate contrib, and got the following:
attack=# \i unixdate.sql
psql:unixdate.sql:21: ERROR: ProcedureCreate: there is no builtin
function named "-"
psql:unixdate.sql:25: ERROR: Function 'abstime_datetime(int4)' does
not exist Unable to identify a function that satisfies the given
argument types You may need to add explicit typecasts
psql:unixdate.sql:29: ERROR: ProcedureCreate: there is no builtin
function named "-"
psql:unixdate.sql:33: ERROR: Function 'reltime_timespan(int4)' does
not exist Unable to identify a function that satisfies the given
argument types You may need to add explicit typecasts
attack=#
Any ideas? (I need SOMETHING that takes a unix timestamp and turns it
to timestamp. )
Thanks!
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749