agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Paul M. Aoki <aoki@CS.Berkeley.EDU>
To: David Alan Nelson <D.A.Nelson@newcastle.ac.uk>
Cc: Postgres <postgres@postgres.Berkeley.EDU>
Subject: Re: Triggers
Date: Thu, 04 Aug 94 12:20:25 -0700
Message-ID: <199408041920.MAA04662@nobozo.CS.Berkeley.EDU> (raw)
In-Reply-To: <AA13167.9408041547@swinhoe.ncl.ac.uk>

"David Alan Nelson" <D.A.Nelson@newcastle.ac.uk> writes:
> How do I support alerters and triggers in Postgres 4.1.  I thought it
> was just a case of adding the always keyword to a retrieve or replace
> command

don't believe any syntax or examples you see in the academic papers.
syntax tended to change with the phase of the moon.

depending on what you're trying to do, instance/rewrite rules may 
do some of what you want.  see "define rule".  for alerters, see
"listen"/"notify" and "libpq" (under asynchronous portal).
--
  Paul M. Aoki          |  University of California at Berkeley
  aoki@CS.Berkeley.EDU  |  Dept. of EECS, Computer Science Division (#1776) 
                        |  Berkeley, CA 94720-1776

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



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: postgres@postgres.berkeley.edu
  Cc: aoki@CS.Berkeley.EDU, D.A.Nelson@newcastle.ac.uk
  Subject: Re: Triggers
  In-Reply-To: <199408041920.MAA04662@nobozo.CS.Berkeley.EDU>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox