pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken Corey <ken.corey@atomic-interactive.com>
To: macky <macky@edsamail.com>
To: pgsql-sql@postgresql.org
To: pgsql-novice@postgresql.org
Subject: Re: Knowing new item in table...
Date: Fri, 3 Aug 2001 11:27:31 +0100
Message-ID: <0108031127310C.28897@kcorey.intra.atomic-interactive.com> (raw)
In-Reply-To: <006501c11bf5$f4b20750$5764a8c0@edsamail.com>
References: <006501c11bf5$f4b20750$5764a8c0@edsamail.com>

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



view thread (8+ messages)  latest in thread

Message-ID: <0108031127310C.28897@kcorey.intra.atomic-interactive.com>
Permalink:  ../0108031127310C.28897@kcorey.intra.atomic-interactive.com/
Also on:    postgresql.org/message-id/0108031127310C.28897@kcorey.intra.atomic-interactive.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ken.corey@atomic-interactive.com, macky@edsamail.com, pgsql-novice@postgresql.org
  Subject: Re: Knowing new item in table...
  In-Reply-To: <0108031127310C.28897@kcorey.intra.atomic-interactive.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