From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Sarah Asmaels <sarah(at)spiesonline(dot)net> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: writable joined view |
Date: | 2005-10-25 14:49:57 |
Message-ID: | 435E4615.8080409@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Sarah Asmaels wrote:
> Hi!
>
> I have one table referencing an object in another table through an ID,
> and a view joining those tables on the ID. I want to create rules to
> rewrite updates/deletes/inserts on the joined view to act on the real
> tables. Can you give me some pointers? The documentation has only
> examples for views depending on single tables.
I've attached a small example script that shows insert/update/delete on
a "joined" view.
--
Richard Huxton
Archonet Ltd
Attachment | Content-Type | Size |
---|---|---|
simple_joined_view_test_script.sql | text/x-sql | 2.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Marc G. Fournier | 2005-10-25 15:02:39 | Re: convert timezone to string ... |
Previous Message | Daryl Richter | 2005-10-25 14:38:43 | Re: automatic update or insert |