| From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
|---|---|
| To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
| Cc: | stan <stanb(at)panix(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Detecting which columns a query will modify in a function called by a trigger |
| Date: | 2020-03-03 23:06:44 |
| Message-ID: | CAKFQuwbVOiAz7CSZUugmyrdBzdOayDNzUdOGd92TeK2Fhr94HQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs pgsql-general |
On Tue, Mar 3, 2020 at 3:48 PM Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
wrote:
> The link was for automatically updateable views. If you want to do
> something more involved then see:
>
> https://www.postgresql.org/docs/12/rules-views.html#RULES-VIEWS-UPDATE
CREATE TRIGGER works with views; I usually see recommendations to start
there and avoid rules if at all possible.
David J.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2020-03-03 23:11:35 | Re: Detecting which columns a query will modify in a function called by a trigger |
| Previous Message | Adrian Klaver | 2020-03-03 22:48:41 | Re: Detecting which columns a query will modify in a function called by a trigger |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2020-03-03 23:11:35 | Re: Detecting which columns a query will modify in a function called by a trigger |
| Previous Message | Adrian Klaver | 2020-03-03 22:48:41 | Re: Detecting which columns a query will modify in a function called by a trigger |