pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitry Morozovsky <marck@rinet.ru>
To: pgsql-sql@postgresql.org
Subject: Re: Trigger for updating view with join
Date: Wed, 4 Sep 2013 09:20:18 +0400 (MSK)
Message-ID: <alpine.BSF.2.00.1309040919030.75311@woozle.rinet.ru> (raw)
In-Reply-To: <alpine.BSF.2.00.1309040335020.75311@woozle.rinet.ru>
References: <alpine.BSF.2.00.1309040335020.75311@woozle.rinet.ru>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-sql>

On Wed, 4 Sep 2013, Dmitry Morozovsky wrote:

> Dear colleagues,
> 
> I'm running Pg 9.1 and have schema like the following:

[snip]

> I understand I should use smth like 
> 
> create trigger fsl_update instead of insert or update on fsl ...
> 
> but till now did not succeed in it.  Quick googlink did not help either.

Argh.  My google-fu is definitely low in the night ;)

for the record: it's right at 
http://www.postgresql.org/docs/9.1/static/plpgsql-trigger.html 
example 39-5

Sorry for the noise.

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck@FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql



view thread (3+ messages)  latest in thread

Message-ID: <alpine.BSF.2.00.1309040919030.75311@woozle.rinet.ru>
Permalink:  ../alpine.BSF.2.00.1309040919030.75311@woozle.rinet.ru/
Also on:    postgresql.org/message-id/alpine.BSF.2.00.1309040919030.75311@woozle.rinet.ru

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-sql@postgresql.org
  Cc: marck@rinet.ru
  Subject: Re: Trigger for updating view with join
  In-Reply-To: <alpine.BSF.2.00.1309040919030.75311@woozle.rinet.ru>

* 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