Thread: Backend unexpectedly closed connection

Backend unexpectedly closed connection

From
pgsql-bugs@postgresql.org
Date:
Paul Mamin (magamos@mail.ru) reports a bug with a severity of 4
The lower the number the more severe it is.

Short Description
Backend unexpectedly closed connection

Long Description
Sequence:
-------------------------------------------------------------
listen xxx;
create table xx (a int4);
create rule xx_xx2 as on delete to xx where old.a=1 do notify xxx;
-------------------------------------------------------------

Output:
something like "backend closed connection"

Output I expected:
at least some error message, but not closing of connection.
I know that my SQL sequence is wrong, but i just expected the error
message.

PostgreSQL version:
7.1.1

Platform information:
Linux Slackware 7.1, kernel 2.4.1

Sample Code
listen xxx;
create table xx (a int4);
create rule xx_xx2 as on delete to xx where old.a=1 do notify xxx;

No file was uploaded with this report