Re: followup on view/rule/delete problem.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pete Leonard <pete(at)hero(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: followup on view/rule/delete problem.
Date: 2001-06-13 18:10:16
Message-ID: 27340.992455816@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Pete Leonard <pete(at)hero(dot)com> writes:
> Unfortunately, I'm still not quite there - I'm still experiencing DB
> hangs, and was able to duplicate it with the following simplified schema.
> Is this a 7.1-specific bug? Is it breaking 7.1.2 as well?
> ...
> create rule delete_foobar as on delete to foobar
> do instead (
> insert into log (id, action) values (OLD.id, 'deleted');
> delete from foo where id=OLD.id;
> );

Almost anything involving a multi-action rule and references to views
is probably vulnerable to the bug I found yesterday :-(. Please try
it with 7.1.2 plus the patch I posted.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thalis A. Kalfigopoulos 2001-06-13 18:40:25 Re: Vacuum-ing without disconnecting users
Previous Message Gregory Wood 2001-06-13 18:07:37 Re: Multiple pq_flush: send() failed: Broken pipe