Re: CREATE RULE "_RETURN" and toast tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, peter(dot)ezetta(at)zonarsystems(dot)com
Subject: Re: CREATE RULE "_RETURN" and toast tables
Date: 2013-03-04 00:07:39
Message-ID: 18220.1362355659@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> On 2013-02-14 20:47:11 -0500, Tom Lane wrote:
>> Andres Freund <andres(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2013-03-04 00:27:02 Re: Materialized views WIP patch
Previous Message Tom Lane 2013-03-03 23:39:08 Re: Materialized views WIP patch