Re: Knowing new item in table...

From: Ken Corey <ken(dot)corey(at)atomic-interactive(dot)com>
To: "macky" <macky(at)edsamail(dot)com>, <pgsql-sql(at)postgresql(dot)org>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Knowing new item in table...
Date: 2001-08-03 10:27:31
Message-ID: 0108031127310C.28897@kcorey.intra.atomic-interactive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-sql

On Friday 03 August 2001 09:26, macky wrote:
> im still in the dark when it comes to postgres..... is there a way i can
> know if there was a new entry on a table...
>
> scenario...
>
> i have a script that runs every 5 minutes... that script checks if
> there's a new entry in that table... and if YES there's a new entry ill do
> some processing...

Isn't this a perfect example of when a notification and listen setup would be
helpful (assuming that a trigger isn't acceptable)?

-Ken

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Schnack, Malte 2001-08-03 10:45:03 limit the number of entries in a table
Previous Message Joseph 2001-08-03 10:06:38 function question

Browse pgsql-sql by date

  From Date Subject
Next Message rocael 2001-08-03 13:08:13 `postgresql.conf' has wrong permissions???
Previous Message Christopher Sawtell 2001-08-03 10:05:14 Re: Knowing new item in table...