From: Mr OCP <mr_ocp@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Please help
Date: Fri, 16 Nov 2001 13:18:06 +1100 (EST)
Message-ID: <20011116021806.20613.qmail@web20606.mail.yahoo.com> (raw)
Hi
Can anyone help me write a trigger on a table, I have
created an audit table for a table and what I want
trigger to do is to whenever a record is deleted from
the table it should first be inserted into the audit
table, just to keep track of whatever records are
deleted.
Thanks so much for your time.
Mike
http://shopping.yahoo.com.au - Yahoo! Shopping
- Get organised for Christmas early this year!
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-admin@postgresql.org
Cc: mr_ocp@yahoo.com
Subject: Re: Please help
In-Reply-To: <20011116021806.20613.qmail@web20606.mail.yahoo.com>
References: <20011116021806.20613.qmail@web20606.mail.yahoo.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