BUG #9398: DELETE refering to a materialized view produces "cannot lock rows in materialized view" error - Mailing list pgsql-bugs

From no-email@example.com
Subject BUG #9398: DELETE refering to a materialized view produces "cannot lock rows in materialized view" error
Date
Msg-id 20140301095125.11734.87903@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #9398: DELETE refering to a materialized view produces "cannot lock rows in materialized view" error  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      9398
Logged by:          nakag
Email address:      no-email@example.com
PostgreSQL version: 9.3.3
Operating system:   Linux
Description:

CREATE TABLE base ( id int primary key );
CREATE MATERIALIZED VIEW mv AS SELECT * FROM base;
CREATE TABLE d ( id int primary key );
DELETE FROM d WHERE EXISTS ( SELECT * FROM mv WHERE mv.id = d.id );

The above code produces an ERROR "cannot lock rows in materialized view."

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #9374: some timzone abbver is missing from pg_timezone_abbrevs that are in pg_timezone_names
Next
From: davidpf75@gmail.com
Date:
Subject: BUG #9404: (URGENT) problem after calling PQconnectdb, exceptions are not caught