Aleksandr Vinokurov wrote:

Logging will be done with this rule:

create or replace rule chuwee_rule as on insert to chuwee
do insert into chuwee_log (num, mesg)
   values (new.num, new.mesg);

Don't do logging with rules, do logging with triggers.

See mailing-list archives for details.

--
  Richard Huxton
  Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to