From: DAVID ROTH <adaptron@comcast.net>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Trigger questions
Date: Thu, 4 May 2023 09:49:16 -0400 (EDT)
Message-ID: <1215915755.69415.1683208156758@connect.xfinity.com> (raw)
1) Can I create a trigger on a view?
2) Do triggers cascade?
Say I have an insert trigger on a table.
And, I have an insert trigger on a view that references this table
If I do an insert on the view, will both triggers fire?
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-general@postgresql.org
Cc: adaptron@comcast.net
Subject: Re: Trigger questions
In-Reply-To: <1215915755.69415.1683208156758@connect.xfinity.com>
References: <1215915755.69415.1683208156758@connect.xfinity.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