proper way to convert ctime to timestamp - Mailing list pgsql-hackers

From GB Clark
Subject proper way to convert ctime to timestamp
Date
Msg-id 20021224073542.1f3049c9.postgres@vsservices.com
Whole thread Raw
List pgsql-hackers
Hi,

I'm working with a legacy version of nagios.  In it's database routines
it uses datetime(abstime(%lu)) to input time/date info.  I've replaced those
to use abstime(%lu).  What would be the proper way to getting this done?

I've looked through the docs, but can't seem to come up with something
proper as abstime is undocumented as far as I can find.

Thanks for the help.

GB

-- 
GB Clark II             | Roaming FreeBSD Admin
gclarkii@VSServices.COM | General Geek           CTHULU for President - Why choose the lesser of two evils?


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: RPMS for RedHat 6.2/7.3/8.0 ready
Next
From: Tom Lane
Date:
Subject: Re: 7.3.1 regression: geometry failed on FreeBSD