Skip site navigation (1) Skip section navigation (2)

Re: Comparing times to "now + 45 seconds"

From: "Jean-Yves F(dot) Barbier" <12ukwn(at)gmail(dot)com>
To: Rikard Bosnjakovic <rikard(dot)bosnjakovic(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Comparing times to "now + 45 seconds"
Date: 2010-01-24 10:19:03
Message-ID: 4B5C1E97.7080007@gmail.com (view raw or flat)
Thread:
Lists: pgsql-novice
Rikard Bosnjakovic a écrit :
...
> 
> Which works, but I don't know how to apply the "45 seconds":

SELECT now() + interval '45 seconds';

-- 
Lysistrata had a good idea.

In response to

pgsql-novice by date

Next:From: Thomas KellererDate: 2010-01-24 10:28:17
Subject: Re: Comparing times to "now + 45 seconds"
Previous:From: Rikard BosnjakovicDate: 2010-01-24 10:08:48
Subject: Comparing times to "now + 45 seconds"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group