Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group