From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: liukui@kingbase.com.cn
Subject: BUG #17646: create rule named "_RETURN" will cause pg core
Date: Mon, 17 Oct 2022 12:03:15 +0000
Message-ID: <17646-70c93cfa40365776@postgresql.org> (raw)
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.
!?>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, liukui@kingbase.com.cn
Subject: Re: BUG #17646: create rule named "_RETURN" will cause pg core
In-Reply-To: <17646-70c93cfa40365776@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox