pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Marc G. Fournier <scrappy@postgresql.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: UPDATEABLE VIEWS ... Examples?
Date: Thu, 16 Jun 2005 20:07:28 -0600
Message-ID: <20050617020728.GA67582@winnie.fuhr.org> (raw)
In-Reply-To: <20050616180356.Y90456@ganymede.hub.org>
References: <20050616180356.Y90456@ganymede.hub.org>

On Thu, Jun 16, 2005 at 06:05:03PM -0300, Marc G. Fournier wrote:
> 
> Reading through the docs, both the CREATE VIEW and CREATE RULE pages refer 
> to how you can use a RULE to 'simulate' an updateable VIEW ... but I can't 
> seem to find any examples of this ...

Are you looking for "Cooperation with Views" in the "Rules on INSERT,
UPDATE, and DELETE" section of the "The Rule System" chapter?

http://www.postgresql.org/docs/8.0/static/rules-update.html#RULES-UPDATE-VIEWS

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (11+ messages)  latest in thread

Message-ID: <20050617020728.GA67582@winnie.fuhr.org>
Permalink:  ../20050617020728.GA67582@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050617020728.GA67582@winnie.fuhr.org

 · 

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: mike@fuhr.org, scrappy@postgresql.org
  Subject: Re: UPDATEABLE VIEWS ... Examples?
  In-Reply-To: <20050617020728.GA67582@winnie.fuhr.org>

* 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