pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David G. Johnston <david.g.johnston@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: stan <stanb@panix.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Detecting which columns a query will modify in a function called by a trigger
Date: Tue, 3 Mar 2020 16:06:44 -0700
Message-ID: <CAKFQuwbVOiAz7CSZUugmyrdBzdOayDNzUdOGd92TeK2Fhr94HQ@mail.gmail.com> (raw)
In-Reply-To: <5574e3a6-2245-42c4-77fd-6e51a7a65e0c@aklaver.com>
References: <20200302185904.GA6528@panix.com>
	<30c3c06e-61fa-3210-666d-1696af320a75@aklaver.com>
	<20200302202829.GA19161@panix.com>
	<CAKFQuwaYuvQert-Szy7khu4tB6avCah0wqavsQzPDxX+-vjj_g@mail.gmail.com>
	<20200303174248.GB5019@panix.com>
	<7ac6f67e-f330-1825-02e3-fa5b5a1a2940@aklaver.com>
	<20200303213215.GA2023@panix.com>
	<5574e3a6-2245-42c4-77fd-6e51a7a65e0c@aklaver.com>

On Tue, Mar 3, 2020 at 3:48 PM Adrian Klaver <adrian.klaver@aklaver.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.

view thread (17+ messages)  latest in thread

Message-ID: <CAKFQuwbVOiAz7CSZUugmyrdBzdOayDNzUdOGd92TeK2Fhr94HQ@mail.gmail.com>
Permalink:  ../CAKFQuwbVOiAz7CSZUugmyrdBzdOayDNzUdOGd92TeK2Fhr94HQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAKFQuwbVOiAz7CSZUugmyrdBzdOayDNzUdOGd92TeK2Fhr94HQ@mail.gmail.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: david.g.johnston@gmail.com, adrian.klaver@aklaver.com, stanb@panix.com, pgsql-general@postgresql.org
  Subject: Re: Detecting which columns a query will modify in a function called by a trigger
  In-Reply-To: <CAKFQuwbVOiAz7CSZUugmyrdBzdOayDNzUdOGd92TeK2Fhr94HQ@mail.gmail.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