pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: drfrog@smartt.com
To: Carolyn Lu Wong <carolyn@kss.net.au>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: trigger examples
Date: Mon, 02 Oct 2000 21:41:15 -0700
Message-ID: <39D9636B.5B45952C@smartt.com> (raw)
References: <39D96C98.9C7A6A55@kss.net.au>

Carolyn Lu Wong wrote:
> 
> I need to write a trigger to create a new record in log table if it's a
> new record or if column A and B changes. Can someone give me an example
> how to do this.
> 
> Are there any sites that gives trigger examples??
> 
> Thanks.

the fulltextindex in the contrib dir gives an example



view thread (4+ messages)  latest in thread

Message-ID: <39D9636B.5B45952C@smartt.com>
Permalink:  ../39D9636B.5B45952C@smartt.com/
Also on:    postgresql.org/message-id/39D9636B.5B45952C@smartt.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 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-sql@postgresql.org
  Cc: drfrog@smartt.com, carolyn@kss.net.au
  Subject: Re: trigger examples
  In-Reply-To: <39D9636B.5B45952C@smartt.com>
  References: <39D96C98.9C7A6A55@kss.net.au> <39D9636B.5B45952C@smartt.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