Skip site navigation (1) Skip section navigation (2)

proper way to convert ctime to timestamp

From: GB Clark <postgres(at)vsservices(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: proper way to convert ctime to timestamp
Date: 2002-12-24 13:35:42
Message-ID: 20021224073542.1f3049c9.postgres@vsservices.com (view raw or flat)
Thread:
Lists: 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(at)VSServices(dot)COM | General Geek 
           CTHULU for President - Why choose the lesser of two evils?

pgsql-hackers by date

Next:From: Tom LaneDate: 2002-12-24 15:22:39
Subject: Re: 7.3.1 regression: geometry failed on FreeBSD
Previous:From: Lamar OwenDate: 2002-12-24 12:04:41
Subject: Re: RPMS for RedHat 6.2/7.3/8.0 ready

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group