Re: [web2py] cannot perform INSERT RETURNING on VIEW

2015-03-16 Thread Johann Spies
On 10 March 2015 at 01:51, Val K wrote: > It's no problem while INSERT into TABLE, but not for VIEW > "If you want to support RETURNING queries on the view, you need to make > the rules include RETURNING clauses that compute the view rows. This is > usually pretty trivial for views on a single

[web2py] cannot perform INSERT RETURNING on VIEW

2015-03-10 Thread Val K
Hi! I am falling in love with web2py!!! But I had got a little problem when migrated to 2.9.11-stable+timestamp.2014.09.15.23.35.11. After submit INSERT-form, I had got an error: cannot perform INSERT RETURNING on relation "table_view" HINT: You need an unconditional ON INSERT DO INSTEAD