Re: can't delete record from second table in rules of view with join select

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sergey Burladyan <eshkinkot(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: can't delete record from second table in rules of view with join select
Date: 2008-03-25 15:30:25
Message-ID: 20870.1206459025@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Sergey Burladyan <eshkinkot(at)gmail(dot)com> writes:
> Sorry, after thinking some time about this problem now i may be understand what going on there... %)

> When first rule was exec - no OLD row anymore in "v" view, nothing will be joined and in second rule
> OLD value is empty... so my question is changed to: is this expected behavior or a bug ? %)

Yup, it's expected.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Frank F. 2008-03-25 19:13:37 BUG #4058: xml_table() segfaults on null
Previous Message Alvaro Herrera 2008-03-25 14:47:24 Re: postgresql in FreeBSD jails: proposal