Re: delayed input

From: Richard Huxton <dev(at)archonet(dot)com>
To: "Hicham G(dot) Elmongui" <elmongui(at)cs(dot)purdue(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: delayed input
Date: 2004-10-19 16:41:41
Message-ID: 417543C5.5090903@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hicham G. Elmongui wrote:
> I need to select all tuples from a table, but need them to be fetched with a
> constant delay (say 1 sec) between every consecutive tuples.
>
> The first idea that came up to my mind is to create a DelayedSeqScan
> operator, and put delay before returning the scanned tuple.
>
> Can I do this functionality using table functions?

Could you not just use a cursor and fetch each row in turn based on some
timer in your application?

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pierre-Frédéric Caillaud 2004-10-19 16:43:56 Re: delayed input
Previous Message Kevin Barnard 2004-10-19 16:28:21 Re: delayed input