Re: Fwd: Trigger on VIEW not firing

From: Beena Emerson <memissemerson(at)gmail(dot)com>
To: Massimo Costantini <massimo(dot)costantini(at)gmail(dot)com>
Cc: Ian Lawrence Barwick <barwick(at)gmail(dot)com>, PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Fwd: Trigger on VIEW not firing
Date: 2013-07-30 13:11:06
Message-ID: CAOG9ApEP3qAjBpyMygNT_iiCq+rm1rcGQG3wjDXYOuCo5pG8xQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgeu-general pgsql-general

It works fine if you insert into the view:

=# INSERT INTO speedv VALUES (1, 'test', 100);
INSERT 0 1

=# SELECT * FROM alarm;
name | id | type | init | fired | t_end | t_user
------+----+-------+----------------------------+-------+-------+--------
test | 0 | SPEED | 2013-07-30 18:08:01.006979 | | |
(1 row)

=# SELECT * FROM car;
id | type | speed
----+------+-------
(0 rows)

=# SELECT * FROM speedv;
id | type | speed
----+------+-------
(0 rows)

--

*
*
Beena Emerson

In response to

Browse pgeu-general by date

  From Date Subject
Next Message Beena Emerson 2013-07-30 13:30:41 Re: Fwd: Trigger on VIEW not firing
Previous Message Ashutosh Durugkar 2013-07-30 13:04:46 Re: Trigger on VIEW not firing

Browse pgsql-general by date

  From Date Subject
Next Message Tom Jenkinson 2013-07-30 13:25:31 Re: [GENERAL] Incorrect response code after XA recovery
Previous Message Ashutosh Durugkar 2013-07-30 13:04:46 Re: Trigger on VIEW not firing