From: Tom Lane <tgl@sss.pgh.pa.us>
To: Marc SCHAEFER <schaefer@alphanet.ch>
Cc: pgsql-sql@postgresql.org
Subject: Re: Triggers for inserting on VIEWS
Date: Sat, 03 Aug 2002 14:34:44 -0400
Message-ID: <4170.1028399684@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.3.96.1020803193426.6029A-100000@defian.alphanet.ch>
References: <Pine.LNX.3.96.1020803193426.6029A-100000@defian.alphanet.ch>
Marc SCHAEFER <schaefer@alphanet.ch> writes:
> at least with PostgreSQL 7.1 it was possible to create a trigger on a
> view.
Use a rule instead. 7.2 will reject an attempt to insert into a view
without a replacement rule, so a trigger would do you no good anyhow.
(I thought that behavior went back further than 7.2, actually.)
regards, tom lane
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: tgl@sss.pgh.pa.us, schaefer@alphanet.ch
Subject: Re: Triggers for inserting on VIEWS
In-Reply-To: <4170.1028399684@sss.pgh.pa.us>
* 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