Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: Re-write rules on views - Mailing list pgsql-general

From Tom Lane
Subject Re: Re-write rules on views
Date
Msg-id [email protected]
Whole thread Raw
In response to Re-write rules on views  (Rip <[email protected]>)
Responses Re: Re-write rules on views
List pgsql-general
Rip <[email protected]> writes:
>     The docs seem slim in this department.. what is the proper
> syntax for an update to a view with multiple tables?

I think you are looking for a multiple-action rule.  Just put square
brackets, or parens if you prefer, around the list of action queries.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pltcl: Invalid return list from trigger - must have even # of elements
Next
From: Bill McGonigle
Date:
Subject: Re: pg_dumpall storing multiple copies of DB's?