PG Bug reporting form <noreply@postgresql.org> writes:
> here is a test case
> create table t (id integer);
> create view v1 as select * from t;
> create or replace rule "_RETURN" as on UPDATE to v1 do instead select * from
> t;
Meh. We should be preventing you from doing that.
(Although the core dump is also not great --- something should've noticed
the bogosity of the plan earlier than this.)
regards, tom lane