Re: Yearly Archival System Using PostgreSQL

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Yearly Archival System Using PostgreSQL
Дата
Msg-id 20050715114842.GA29677@winnie.fuhr.org
обсуждение исходный текст
Ответ на Yearly Archival System Using PostgreSQL  ("Vivek" <vivek.sonny.abraham@gmail.com>)
Список 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/


В списке pgsql-sql по дате отправления:

Предыдущее
От: Kenneth Gonsalves
Дата:
Сообщение: Re: difference between all RDBMSs
Следующее
От: Neil Dugan
Дата:
Сообщение: Re: How to obtain the list of data table name only