From: Vivek <vivek.sonny.abraham@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Yearly Archival System Using PostgreSQL
Date: 14 Jul 2005 02:24:17 -0700
Message-ID: <1121333057.572963.320670@z14g2000cwz.googlegroups.com> (raw)
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?
Will be grateful if anybody could point me in the right direction.
Vivek
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: vivek.sonny.abraham@gmail.com
Subject: Re: Yearly Archival System Using PostgreSQL
In-Reply-To: <1121333057.572963.320670@z14g2000cwz.googlegroups.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