Re: CREATE RULE "_RETURN" and toast tables - Mailing list pgsql-hackers

From Tom Lane
Subject Re: CREATE RULE "_RETURN" and toast tables
Date
Msg-id 18220.1362355659@sss.pgh.pa.us
Whole thread Raw
In response to Re: CREATE RULE "_RETURN" and toast tables  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Materialized views WIP patch
Next
From: Josh Berkus
Date:
Subject: Re: Materialized views WIP patch