From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | Vivek <vivek(dot)sonny(dot)abraham(at)gmail(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Yearly Archival System Using PostgreSQL |
Date: | 2005-07-15 11:48:42 |
Message-ID: | 20050715114842.GA29677@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Thu, Jul 14, 2005 at 02:24:17AM -0700, Vivek wrote:
> I am developing a database system using PostgreSQL in which I should be
> able to delete redundant records once a year (Time specified by the
> user). THe redundant records should be inserted into the archive table
> which is part of the same database.
>
> Is this possible in pgsql? Can I program a function in SQL or a trigger
> to fire when the computer switches on say Jan 1 of every year?
This is asked and answered from time to time; search the archives
for past discussion. The usual answer is to use your operating
system's mechanism for scheduling period jobs, e.g., cron on Unix.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
From | Date | Subject | |
---|---|---|---|
Next Message | Neil Dugan | 2005-07-15 12:16:08 | Re: How to obtain the list of data table name only |
Previous Message | Kenneth Gonsalves | 2005-07-15 09:46:02 | Re: difference between all RDBMSs |