Re: This script will crash the connection

From: "Richard Huxton" <dev(at)archonet(dot)com>
To: "Steve Howe" <howe(at)carcass(dot)dhs(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: This script will crash the connection
Date: 2001-01-24 13:58:27
Message-ID: 007401c0860d$bed809a0$1001a8c0@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

----- Original Message -----
From: "Steve Howe" <howe(at)carcass(dot)dhs(dot)org>

> Helo all,
>
> Please try this script, it will crash the current connection.
> I'm using the 01/18/2001 PostgreSQL v7.1 beta3 snapshot.
> UPDATE blah SET n1=2 WHERE var_field='aaa' AND n1=1 AND n2=2 AND arr_str
IS
> NULL AND m IS NULL; -- Will crash the connection

Confirmed - only when the update has a "where" clause - a rule on insert or
an update without where seems to work.

Doesn't seem to be the notify - backend crashes with

create rule blah_upd as on update to blah do insert into foo (dummy) values
('test');

version:
========
PostgreSQL 7.1beta3 on i586-pc-linux-gnu, compiled by GCC egcs-2.91.66

- Richard Huxton

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Art Taylor 2001-01-24 14:10:08 pg_logs and pg_variables Files
Previous Message Andreas Rieke 2001-01-24 13:57:10 Performance problem