Re: BUG #17646: create rule named "_RETURN" will cause pg core

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17646: create rule named "_RETURN" will cause pg core
Дата
Msg-id 2164336.1666016275@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #17646: create rule named "_RETURN" will cause pg core  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #17646: create rule named "_RETURN" will cause pg core
Список pgsql-bugs
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



В списке pgsql-bugs по дате отправления:

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17646: create rule named "_RETURN" will cause pg core
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17647: 12.12 package has difference on ubuntu 18.04