Re: Howto turn an integer into an interval? - Mailing list pgsql-sql

From sad
Subject Re: Howto turn an integer into an interval?
Date
Msg-id 200410060901.42334.sad@bankir.ru
Whole thread Raw
In response to Howto turn an integer into an interval?  (Erik Wasser <erik.wasser@iquer.net>)
List pgsql-sql
hello

SELECT ('3600'::int::abstime-'epoch'::abstime)::interval;

try to modify this idea to fit your purpose.



pgsql-sql by date:

Previous
From: Theo Galanakis
Date:
Subject: Re: Regex
Next
From: Erik Wasser
Date:
Subject: Re: Howto turn an integer into an interval?