From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Greg Fausak <greg@named.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6286: Table Partitioning - SQL/MED - interaction broken
Date: Fri, 04 Nov 2011 13:21:36 -0400
Message-ID: <10925.1320427296@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoYS8QOURhv8tjZ=mTQ+QMH6w1E1NUVrxfbamLd2USSxog@mail.gmail.com>
References: <201111031757.pA3Hv3KT052627@wwwmaster.postgresql.org>
<12784.1320354445@sss.pgh.pa.us>
<CA+TgmoYS8QOURhv8tjZ=mTQ+QMH6w1E1NUVrxfbamLd2USSxog@mail.gmail.com>
Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Nov 3, 2011 at 5:07 PM, Tom Lane <tgl@sss.pgh.pa.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, greg@named.com
Subject: Re: BUG #6286: Table Partitioning - SQL/MED - interaction broken
In-Reply-To: <10925.1320427296@sss.pgh.pa.us>
References: <201111031757.pA3Hv3KT052627@wwwmaster.postgresql.org> <12784.1320354445@sss.pgh.pa.us> <CA+TgmoYS8QOURhv8tjZ=mTQ+QMH6w1E1NUVrxfbamLd2USSxog@mail.gmail.com> <10925.1320427296@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox