pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: kiyo taka <hihajime@hotmail.com>
To: pgsql-sql@postgresql.org
Subject: plpgsql before insert update delete
Date: Tue, 04 Dec 2001 22:47:05 -0700
Message-ID: <F184x4A2DreBBsQwY6Y0001748b@hotmail.com> (raw)

hi all.

i'd like to noe how to create trigger which will insert tablez old data 
into an archive table before any(insert,update,delete) operation is 
executed.

i've tried "if inserting ...." but it didnt work.
is there any function that will do it?

any help will be greatly appreciated.

thanx.

_________________________________________________________________
$B$+$o$$$$(B & $B;H$($k%V%i%&%6$G!"%$%s%?!<%M%C%H@83h$b$C$H3Z$7$/$J$k!*(B
http://explorer.msn.co.jp/




view thread (2+ messages)  latest in thread

Message-ID: <F184x4A2DreBBsQwY6Y0001748b@hotmail.com>
Permalink:  ../F184x4A2DreBBsQwY6Y0001748b@hotmail.com/
Also on:    postgresql.org/message-id/F184x4A2DreBBsQwY6Y0001748b@hotmail.com

 · 

reply

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: hihajime@hotmail.com
  Subject: Re: plpgsql before insert update delete
  In-Reply-To: <F184x4A2DreBBsQwY6Y0001748b@hotmail.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