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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Monitoring new records



2008/2/29 messias <messias(at)fw(dot)hu>:
> --- Andrej Ricnik-Bay <andrej(dot)groups(at)gmail(dot)com> wrote (2008.02.29
>  00:38:30): ---
>
>
>
>
>  > On 29/02/2008, messias <messias(at)fw(dot)hu> wrote:
>
>  > >  be filled by a trigger. The client would read from that queue
>  table,
>
>  > >  and delete the readed data.
>
>  >
>
>  >
>
>  > >  I think this solution can work with only one client.
>
>  > I guess it depends on how you define "client"
>
>
>
>  My clients would be a C++ application, and they have to monitor an
>
>  event table. The events are comming from for example a fire alarm
>
>  system.

Then, you probably want to look at the LISTEN...NOTIFY system.  Check
the documentation for more details.

Sean



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group