From: | <operationsengineer1(at)yahoo(dot)com> |
---|---|
To: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: [SQL] [ADMIN] Is there anyway to... |
Date: | 2006-11-09 01:24:17 |
Message-ID: | 20061109012417.34765.qmail@web33310.mail.mud.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general pgsql-sql |
> While you could setup a cron job to decrement some
> counter every day, I
> think that's not the best approach. Instead, I'd run
> a query once a day
> that finds all students that are past-due and takes
> some kind of action.
> --
> Jim Nasby
> jim(at)nasby(dot)net
> EnterpriseDB http://enterprisedb.com
> 512.569.9461 (cell)
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map
> settings
i'm wanting to learn something here so i'm going to
chime in.
the way i read what you are saying is that you'd have
start_date and number_days columns in your table.
each day a query would run and pull the start_date and
numbers_days columns.
the application (or postgresql function) would then
take the current date, subtract starte date and
compare it to number of days. if it is above that
number, the code will take some sort of action.
is that about it or have i missed something?
tia...
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail.
http://new.mail.yahoo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Frost | 2006-11-09 02:46:40 | statistics buffer is full |
Previous Message | David J. Fenske | 2006-11-08 14:59:19 | Re: Can I substitute a recovered /data directory into a new installation? |
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas H. | 2006-11-09 01:31:29 | planer picks a bad plan (seq-scan instead of index) when adding an additional join |
Previous Message | Brendan Jurd | 2006-11-09 01:19:59 | Re: [GENERAL] ISO week dates |
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2006-11-09 10:19:47 | Re: [SQL] [ADMIN] Is there anyway to... |
Previous Message | Alejandro Fernandez | 2006-11-08 12:41:19 | unsubscribe |