From: David Fetter <david@fetter.org>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: alvherre@2ndquadrant.com
Cc: Jim.Nasby@BlueTreble.com
Cc: fujita.etsuro@lab.ntt.co.jp
Cc: tgl@sss.pgh.pa.us
Cc: ashutosh.bapat@enterprisedb.com
Cc: hlinnakangas@vmware.com
Cc: noah@leadboat.com
Cc: shigeru.hanada@gmail.com
Cc: pgsql-hackers@postgresql.org
Subject: Re: inherit support for foreign tables
Date: Thu, 16 Apr 2015 14:43:33 -0700
Message-ID: <20150416214333.GA797@fetter.org> (raw)
In-Reply-To: <20150415.093505.266215018.horiguchi.kyotaro@lab.ntt.co.jp>
References: <552CF0B6.8010006@lab.ntt.co.jp>
<552D4EE3.3060708@BlueTreble.com>
<20150414185218.GX4369@alvh.no-ip.org>
<20150415.093505.266215018.horiguchi.kyotaro@lab.ntt.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On Wed, Apr 15, 2015 at 09:35:05AM +0900, Kyotaro HORIGUCHI wrote:
> Hi,
>
> Before suppressing the symptom, I doubt the necessity and/or
> validity of giving foreign tables an ability to be a parent. Is
> there any reasonable usage for the ability?
>
> I think we should choose to inhibit foreign tables from becoming
> a parent rather than leaving it allowed then taking measures for
> the consequent symptom.
I have a use case for having foreign tables as non-leaf nodes in a
partitioning hierarchy, namely geographic. One might have a table at
HQ called foo_world, then partitions under it called foo_jp, foo_us,
etc., in one level, foo_us_ca, foo_us_pa, etc. in the next level, and
on down, each in general in a separate data center.
Is there something essential about having non-leaf nodes as foreign
tables that's a problem here?
Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david.fetter@gmail.com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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 using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: david@fetter.org, horiguchi.kyotaro@lab.ntt.co.jp, alvherre@2ndquadrant.com, Jim.Nasby@BlueTreble.com, fujita.etsuro@lab.ntt.co.jp, tgl@sss.pgh.pa.us, ashutosh.bapat@enterprisedb.com, hlinnakangas@vmware.com, noah@leadboat.com, shigeru.hanada@gmail.com
Subject: Re: inherit support for foreign tables
In-Reply-To: <20150416214333.GA797@fetter.org>
* 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