Re: int4 -> unix timestamp -> sql timestamp; abstime?

From: Roman Neuhauser <neuhauser(at)chello(dot)cz>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: int4 -> unix timestamp -> sql timestamp; abstime?
Date: 2005-01-12 00:54:49
Message-ID: 20050112005449.GF4463@isis.wad.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

# tgl(at)sss(dot)pgh(dot)pa(dot)us / 2005-01-11 19:31:19 -0500:
> Roman Neuhauser <neuhauser(at)chello(dot)cz> writes:
> >> The recommended locution is
> >>
> >> SELECT TIMESTAMP WITH TIME ZONE 'epoch' + <x> * INTERVAL '1 second';
>
> > Have I missed this in the manual?
>
> The 8.0 docs mention this in the discussion of extract(epoch), but I'm
> not sure if it was there before. It's been discussed in the mailing
> list archives many times...

My searches on google.com and of the postresql.org documentation sets
haven't turned anything up. Any chance of this getting into the 7.4
docs?

--
FreeBSD 4.10-STABLE
1:53AM up 17:31, 9 users, load averages: 0.05, 0.03, 0.00

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2005-01-12 01:02:40 Re: int4 -> unix timestamp -> sql timestamp; abstime?
Previous Message Tom Lane 2005-01-12 00:44:46 Re: int4 -> unix timestamp -> sql timestamp; abstime?