Re: epoch - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: epoch
Date
Msg-id Pine.LNX.4.30.0103062137540.778-100000@peter.localdomain
Whole thread Raw
In response to epoch  (Patrick Welche <prlw1@newn.cam.ac.uk>)
List pgsql-hackers
Patrick Welche writes:

> http://www.postgresql.org/devel-corner/docs/user/functions-datetime.html
>
> patrimoine=# SELECT EXTRACT(EPOCH FROM TIMESTAMP '2001-02-16 20:38:40');
> ERROR:  parser: parse error at or near "epoch"
> patrimoine=# select version();
>                                     version
> -------------------------------------------------------------------------------
>  PostgreSQL 7.1beta3 on i386-unknown-netbsdelf1.5Q, compiled by GCC egcs-1.1.2
> (1 row)

> Is my version already too old?

Yes.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to shoot yourself in the foot: kill -9 postmaster
Next
From: ncm@zembu.com (Nathan Myers)
Date:
Subject: Re: How to shoot yourself in the foot: kill -9 postmaster