pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: andrew@pillette.com
To: pgsql-docs@postgresql.org
Subject: Doc bug (?) in rules vs triggers
Date: Fri, 13 Feb 2004 12:29:32 -0800
Message-ID: <200402132029.i1DKTWp01272@pillette.com> (raw)

Chapter 13 of the documentation on Rules versus Triggers says in part

"On the other hand a trigger that is fired on INSERT on a view can do the same as a rule, put the data somewhere else and suppress the insert in the view."

However, it does not appear to be possible to set a trigger on a view, so this means something else. (I'd like to set a trigger on a view, because the replacement INSERT I wish to make is easier to write in PLPGSQL than plain SQL.)




view thread (2+ messages)  latest in thread

Message-ID: <200402132029.i1DKTWp01272@pillette.com>
Permalink:  ../200402132029.i1DKTWp01272@pillette.com/
Also on:    postgresql.org/message-id/200402132029.i1DKTWp01272@pillette.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-docs@postgresql.org
  Cc: andrew@pillette.com
  Subject: Re: Doc bug (?) in rules vs triggers
  In-Reply-To: <200402132029.i1DKTWp01272@pillette.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