pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to make 'tail -f' in PostgreSQL?
2+ messages / 2 participants
[nested] [flat]

* How to make 'tail -f' in PostgreSQL?
@ 2001-10-02 18:49 Michael B. Babakov <M.Babakov@sochi.net.ru>
  2001-10-03 14:21 ` Re: How to make 'tail -f' in PostgreSQL? Jeff Boes <jboes@nexcerpt.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Michael B. Babakov @ 2001-10-02 18:49 UTC (permalink / raw)
  To: pgsql-admin


 Do you know how in PostgreSQL to do the receipt of datas in process of
their
entering as a programm 'tail-f' or need to check in cycle new records
entering
every seconds?

-- 
Good luck,
   Michael Babakov

---
e-mail: M.Babakov@sochi.net.ru
http://sochi.net.ru/~mike



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: How to make 'tail -f' in PostgreSQL?
  2001-10-02 18:49 How to make 'tail -f' in PostgreSQL? Michael B. Babakov <M.Babakov@sochi.net.ru>
@ 2001-10-03 14:21 ` Jeff Boes <jboes@nexcerpt.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jeff Boes @ 2001-10-03 14:21 UTC (permalink / raw)
  To: pgsql-admin

In article <3BBA0C49.226148@sochi.net.ru>, "Michael B. Babakov"
<M.Babakov@sochi.net.ru> wrote:

> Do you know how in PostgreSQL to do the receipt of datas in process of
> their
> entering as a programm 'tail-f' or need to check in cycle new records
> entering
> every seconds?
> 

Well, this would require a sort of "continuous transaction" against a
table, which is a paradox--you only get to see the database at a given
point in time BETWEEN other transactions.

You probably want to look into the NOTIFY command.  The applications
writing data could issue a NOTIFY to indicate when they have written a
row, and the applications reading data could re-run their query when they
receive a NOTIFY event.

-- 
Jeff Boes                                             vox 616.226.9550
Database Engineer                                     fax 616.349.9076
Nexcerpt, Inc.                                      jboes@nexcerpt.com



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2001-10-03 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-10-02 18:49 How to make 'tail -f' in PostgreSQL? Michael B. Babakov <M.Babakov@sochi.net.ru>
2001-10-03 14:21 ` Jeff Boes <jboes@nexcerpt.com>

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