Andres Freund <andres@2ndquadrant.com> writes:
> On 2013-02-14 20:47:11 -0500, Tom Lane wrote:
>> Andres Freund <andres@2ndquadrant.com> writes:
>>> The current behaviour doesn't seem to be a terribly good idea. I propose
>>> to drop the toast table and reset the relfrozenxid in DefineQueryRewrite
>>> in the RelisBecomingView case.
>> Yeah, probably worth doing.
> What about the attached patch?
Applied with some cosmetic changes.
regards, tom lane