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

Re: BUG #6286: Table Partitioning - SQL/MED - interaction broken

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Greg Fausak <greg(at)named(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6286: Table Partitioning - SQL/MED - interaction broken
Date: 2011-11-04 17:21:36
Message-ID: 10925.1320427296@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Thu, Nov 3, 2011 at 5:07 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> We probably ought to have something in there to throw an error ...

> Probably not for rules in general, but we shouldn't let people turn
> tables into views if they are involved in table inheritance, as either
> a parent or a child.

Well, what I had in mind was disallowing any rules to be attached to an
inheritance child, because they won't get expanded.  However, you have a
point I guess: someone could conceivably want to have a rule that only
takes effect when a child is accessed directly.

			regards, tom lane

In response to

Responses

pgsql-bugs by date

Next:From: Robert HaasDate: 2011-11-04 19:45:53
Subject: Re: BUG #6281: need to remove
Previous:From: Jim Jackson (817) 233-2385Date: 2011-11-04 16:39:07
Subject: Re: BUG #6281: need to remove

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