pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Victor Yegorov <viy@nordlb.lv>
To: David Loh <david@bizsurf.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: A minute in timestamp
Date: Thu, 8 May 2003 10:50:14 +0300
Message-ID: <20030508075014.GF1764@nordlb.lv> (raw)
In-Reply-To: <003501c3152c$b3872a30$f92c2c0a@david>
References: <003501c3152c$b3872a30$f92c2c0a@david>

* David Loh <david@bizsurf.com> [08.05.2003 10:03]:
> Hi all.
> 'select * from myTable where date_part('minute',Update_Time > - now()) = 1;'

Does it helps, if you'll try this:

select * from myTable where date_part('second', now() - Update_Time) between 55 and 65;

-- 

Victor Yegorov
IT Programmer, NORD/LB Latvija JSC
Fax (+371) 7323449, Phone (+371) 7077142, Mobile (+371) 9131883

view thread (3+ messages)

Message-ID: <20030508075014.GF1764@nordlb.lv>
Permalink:  ../20030508075014.GF1764@nordlb.lv/
Also on:    postgresql.org/message-id/20030508075014.GF1764@nordlb.lv

 · 

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: viy@nordlb.lv, david@bizsurf.com
  Subject: Re: A minute in timestamp
  In-Reply-To: <20030508075014.GF1764@nordlb.lv>

* 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