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

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #17646: create rule named "_RETURN" will cause pg core
Дата
Msg-id 17646-70c93cfa40365776@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #17646: create rule named "_RETURN" will cause pg core
Re: BUG #17646: create rule named "_RETURN" will cause pg core
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17646
Logged by:          kui liu
Email address:      liukui@kingbase.com.cn
PostgreSQL version: 15.0
Operating system:   linux
Description:

Hi, I encounter an error, it may be a bug,  thx.

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;
select * from v1;

execute up sql, will get this error

server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.
The connection to the server was lost. Attempting reset: Failed.
!?>


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

Предыдущее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: WAL segments removed from primary despite the fact that logical replication slot needs it.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17646: create rule named "_RETURN" will cause pg core