pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sad <sad@bankir.ru>
To: Erik Wasser <erik.wasser@iquer.net>
To: pgsql-sql@postgresql.org
Subject: Re: Howto turn an integer into an interval?
Date: Wed, 6 Oct 2004 09:01:42 +0400
Message-ID: <200410060901.42334.sad@bankir.ru> (raw)
In-Reply-To: <200410051407.42037.erik.wasser@iquer.net>
References: <200410051407.42037.erik.wasser@iquer.net>

hello

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

try to modify this idea to fit your purpose.




view thread (5+ messages)  latest in thread

Message-ID: <200410060901.42334.sad@bankir.ru>
Permalink:  ../200410060901.42334.sad@bankir.ru/
Also on:    postgresql.org/message-id/200410060901.42334.sad@bankir.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sad@bankir.ru, erik.wasser@iquer.net
  Subject: Re: Howto turn an integer into an interval?
  In-Reply-To: <200410060901.42334.sad@bankir.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox