pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guido Barosio <gbarosio@gmail.com>
To: Don Drake <dondrake@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: sleep?
Date: Sun, 21 Aug 2005 22:09:49 +0100
Message-ID: <f7f6b4c705082114094f41bff7@mail.gmail.com> (raw)
In-Reply-To: <6c21003b050821122278e3d7d5@mail.gmail.com>
References: <6c21003b050821122278e3d7d5@mail.gmail.com>

Don't know about such thing, but I guess that a plpgsql function could help 
using datetime var's.
 Just a guess, don't know if the optimal solution.
 Best wishes,
G.-

 On 8/21/05, Don Drake <dondrake@gmail.com> wrote: 
> 
> Is there a sleep function in plpgsql? I need to wait a period time (60 
> seconds) in a while loop.
> 
> I didn't see anything in the docs.
> 
> Thanks.
> 
> -Don
> 
> -- 
> Donald Drake
> President
> Drake Consulting
> http://www.drakeconsult.com/
> http://www.MailLaunder.com/ <http://www.maillaunder.com/;
> http://www.mobilemeridian.com/
> 312-560-1574
> 
> 


-- 
"Adopting the position that you are smarter than an automatic
optimization algorithm is generally a good way to achieve less
performance, not more" - Tom Lane.

view thread (15+ messages)  latest in thread

Message-ID: <f7f6b4c705082114094f41bff7@mail.gmail.com>
Permalink:  ../f7f6b4c705082114094f41bff7@mail.gmail.com/
Also on:    postgresql.org/message-id/f7f6b4c705082114094f41bff7@mail.gmail.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: gbarosio@gmail.com, dondrake@gmail.com
  Subject: Re: sleep?
  In-Reply-To: <f7f6b4c705082114094f41bff7@mail.gmail.com>
  References: <6c21003b050821122278e3d7d5@mail.gmail.com> <f7f6b4c705082114094f41bff7@mail.gmail.com>

* 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