From: Keary Suska <hierophant@pcisys.net>
To: Postgres-PHP <pgsql-php@postgresql.org>
Subject: Re: auto execute
Date: Thu, 10 Oct 2002 23:35:18 -0600
Message-ID: <B9CBBF36.1427F%hierophant@pcisys.net> (raw)
In-Reply-To: <3DA6432D.E253E07B@webphilippines.com>
on 10/10/02 9:19 PM, ric.manalac@webphilippines.com purportedly said:
> how can i make postgres to execute a query automatically during
> scheduled times?
>
> here's my situation. i store records on a table. these records should be
> removed 1 day after they were created.
AFAIK, not solely within postgres. There needs to be some trigger point,
which could be a cron-invoked function, a trigger based on some action on
the table, or "cleanup" function that is called every time your app runs.
Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: hierophant@pcisys.net
Subject: Re: auto execute
In-Reply-To: <B9CBBF36.1427F%hierophant@pcisys.net>
References: <3DA6432D.E253E07B@webphilippines.com> <B9CBBF36.1427F%hierophant@pcisys.net>
* 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