Re: Howto turn an integer into an interval?

From: sad <sad(at)bankir(dot)ru>
To: Erik Wasser <erik(dot)wasser(at)iquer(dot)net>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Howto turn an integer into an interval?
Date: 2004-10-06 05:01:42
Message-ID: 200410060901.42334.sad@bankir.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

hello

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

try to modify this idea to fit your purpose.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Theo Galanakis 2004-10-06 05:44:13 Re: Regex
Previous Message Tom Lane 2004-10-06 03:36:29 Re: Regex