Index: func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql-server/doc/src/sgml/func.sgml,v
retrieving revision 1.180
diff -2 -c -r1.180 func.sgml
*** func.sgml 29 Nov 2003 19:51:37 -0000 1.180
--- func.sgml 4 Dec 2003 22:16:52 -0000
***************
*** 4997,5001 ****
number of seconds since 1970-01-01 00:00:00-00 (can be negative);
for interval values, the total number
! of seconds in the interval
--- 4997,5002 ----
number of seconds since 1970-01-01 00:00:00-00 (can be negative);
for interval values, the total number
! of seconds in the interval. The third example shows how to
! convert number of seconds since EPOCH into a timestamp.
***************
*** 5006,5009 ****
--- 5007,5013 ----
SELECT EXTRACT(EPOCH FROM INTERVAL '5 days 3 hours');
Result: 442800
+
+ SELECT 'epoch'::timestamptz + 1070430858 * '1 second'::interval;
+ Result: 2003-12-02 21:54:18-08