pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julius Tuskenis <julius@nsoft.lt>
To: pgsql-admin@postgresql.org
Subject: how to get a number of seconds in some interval ?
Date: Mon, 12 May 2008 16:44:16 +0300
Message-ID: <482849B0.6050103@nsoft.lt> (raw)

Hello,

Is there a good method of knowing how mutch seconds does some interval 
have?? I tried my_interval / (interval '1 second'), but there is no 
operator interval / interval defines (I wonder why).
Is there a method to do so?

-- 
Julius Tuskenis
Programavimo skyriaus vadovas
UAB nSoft
mob. +37068233050




view thread (11+ messages)  latest in thread

Message-ID: <482849B0.6050103@nsoft.lt>
Permalink:  ../482849B0.6050103@nsoft.lt/
Also on:    postgresql.org/message-id/482849B0.6050103@nsoft.lt

 · 

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-admin@postgresql.org
  Cc: julius@nsoft.lt
  Subject: Re: how to get a number of seconds in some interval ?
  In-Reply-To: <482849B0.6050103@nsoft.lt>

* 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