RE: Knowing new item in table...

From: "tamsin" <tg_mail(at)bryncadfan(dot)co(dot)uk>
To: <pgsql-sql(at)postgresql(dot)org>, <pgsql-novice(at)postgresql(dot)org>
Subject: RE: Knowing new item in table...
Date: 2001-08-03 10:03:37
Message-ID: NEBBKHBOBMJCHDMGKCNJAEPCDBAA.tg_mail@bryncadfan.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-sql

what kind of processing are you doing in the script?
is there a reason why you are not using a trigger or rule on the table that
is executed straight away when a new row is added?
tamsin

> -----Original Message-----
> From: pgsql-novice-owner(at)postgresql(dot)org
> [mailto:pgsql-novice-owner(at)postgresql(dot)org]On Behalf Of macky
> Sent: 03 August 2001 09:26
> To: pgsql-sql(at)postgresql(dot)org; pgsql-novice(at)postgresql(dot)org
> Subject: [NOVICE] Knowing new item in table...
>
>
> 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...
>
>
> is there an internal utility that i can use in postgres that can tell me
> that this rows a new commers... hehehe....
>
>
> if someone has other ideas on how to deal with this speak out...
>
> thanks in advance......
>
> btw..
> my idea is that that table will have an addtional column as reference
> lets say column "READ" 1 for yes 0 for NO
>
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Christopher Sawtell 2001-08-03 10:05:14 Re: Knowing new item in table...
Previous Message Bryan Buchanan 2001-08-03 09:54:55 Re: Knowing new item in table...

Browse pgsql-sql by date

  From Date Subject
Next Message Christopher Sawtell 2001-08-03 10:05:14 Re: Knowing new item in table...
Previous Message Bryan Buchanan 2001-08-03 09:54:55 Re: Knowing new item in table...