Re: table row type and query-specified row type do not match

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bill MacArthur <webmaster(at)dhs-club(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: table row type and query-specified row type do not match
Date: 2012-03-11 22:15:57
Message-ID: 21604.1331504157@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I wrote:
> What I would have expected to happen is for the ALTER TABLE to throw an
> error telling you it couldn't cope with updating the rule, and that
> you'd need to fix that manually. There is such a test involving views;
> not sure why it's not catching this rule.

FYI, I've committed a patch that will cause 9.2 and later releases to
report an error for this case.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2012-03-12 06:12:11 Re: Regression from 8.4 to 9.1.2/9.1.3: Optimizing filters on constants in unions
Previous Message Tom Lane 2012-03-11 21:02:15 Re: BUG #6526: Intermittent connect issue