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

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

pgsql-bugs by date

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

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