pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Don Drake <dondrake@gmail.com>
Cc: Michael Fuhr <mike@fuhr.org>
Cc: John DeSoi <desoi@pgedit.com>
Cc: Guido Barosio <gbarosio@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: sleep?
Date: Tue, 23 Aug 2005 08:07:40 -0700
Message-ID: <430B3BBC.7010607@commandprompt.com> (raw)
In-Reply-To: <6c21003b05082307427ea67279@mail.gmail.com>
References: <6c21003b050821122278e3d7d5@mail.gmail.com>
	<f7f6b4c705082114094f41bff7@mail.gmail.com>
	<D9712202-F287-4CCF-A9C2-EE8A7E11AD83@pgedit.com>
	<6c21003b05082206341411de2d@mail.gmail.com>
	<20050822140133.GA60020@winnie.fuhr.org>
	<6c21003b05082307427ea67279@mail.gmail.com>

Don Drake wrote:

> Sorry for the delay in replying.
>
> The use-case that I have is the following.  I'm writing a job-control 
> tracking sub-system  that will store when jobs are started, finished, 
> failed, etc.  I would like to have the ability to have a process that 
> is requesting to start, to actually wait a specified period time 
> before starting.  It could wait for another job to finish.  I'm 
> writing this in plpgsql since I'm storing status in the db.

I would write a userspace daemon that ran outside of PostgreSQL to call 
your procedures as you need them to run.

Sincerely,

Joshua D. Drake




view thread (15+ messages)  latest in thread

Message-ID: <430B3BBC.7010607@commandprompt.com>
Permalink:  ../430B3BBC.7010607@commandprompt.com/
Also on:    postgresql.org/message-id/430B3BBC.7010607@commandprompt.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: jd@commandprompt.com, dondrake@gmail.com, mike@fuhr.org, desoi@pgedit.com, gbarosio@gmail.com
  Subject: Re: sleep?
  In-Reply-To: <430B3BBC.7010607@commandprompt.com>
  References: <6c21003b050821122278e3d7d5@mail.gmail.com> <f7f6b4c705082114094f41bff7@mail.gmail.com> <D9712202-F287-4CCF-A9C2-EE8A7E11AD83@pgedit.com> <6c21003b05082206341411de2d@mail.gmail.com> <20050822140133.GA60020@winnie.fuhr.org> <6c21003b05082307427ea67279@mail.gmail.com> <430B3BBC.7010607@commandprompt.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