Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WGg0a-0003oX-1M for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Feb 2014 02:38:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WGg0Z-0006W1-Ha for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Feb 2014 02:38:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WGg0Y-0006Vs-Bn for pgsql-hackers@postgresql.org; Fri, 21 Feb 2014 02:38:34 +0000 Received: from tama50.ecl.ntt.co.jp ([129.60.39.147]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WGg0R-0005LG-NV for pgsql-hackers@postgresql.org; Fri, 21 Feb 2014 02:38:33 +0000 Received: from mfs5.rdh.ecl.ntt.co.jp (mfs5.rdh.ecl.ntt.co.jp [129.60.39.144]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id s1L2cMUn031823; Fri, 21 Feb 2014 11:38:22 +0900 Received: from mfs5.rdh.ecl.ntt.co.jp (localhost.localdomain [127.0.0.1]) by mfs5.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id 7786DE011A; Fri, 21 Feb 2014 11:38:22 +0900 (JST) Received: from imail3.m.ecl.ntt.co.jp (imail3.m.ecl.ntt.co.jp [129.60.5.248]) by mfs5.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id 62BCAE0119; Fri, 21 Feb 2014 11:38:22 +0900 (JST) Received: from [129.60.241.197] ([129.60.241.197]) by imail3.m.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id s1L2cLle016360; Fri, 21 Feb 2014 11:38:21 +0900 Message-ID: <5306BC08.2000009@lab.ntt.co.jp> Date: Fri, 21 Feb 2014 11:38:00 +0900 From: Etsuro Fujita User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Kyotaro HORIGUCHI CC: shigeru.hanada@gmail.com, pgsql-hackers@postgresql.org Subject: Re: inherit support for foreign tables References: <000901cf2c93$a7d67c60$f7837520$@etsuro@lab.ntt.co.jp> <20140219.121224.220243854.horiguchi.kyotaro@lab.ntt.co.jp> <53048A26.8040207@lab.ntt.co.jp> <20140220.154736.15628889.horiguchi.kyotaro@lab.ntt.co.jp> <5305DF28.1010308@lab.ntt.co.jp> In-Reply-To: <5305DF28.1010308@lab.ntt.co.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: No X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org (2014/02/20 19:55), Etsuro Fujita wrote: > (2014/02/20 15:47), Kyotaro HORIGUCHI wrote: >> Although my concerns here are only two points, >> unanticipated application and "maintenancibility". I gave a >> consideration on these issues again. > > Sorry, I misunderstood what you mean by "unanticipated application". > >> Then, I think it could be enough by giving feedback to operators >> for the first issue. >> >> =# ALTER TABLE parent ADD CHECK (tempmin < tempmax), >> ALTER tempmin SET NOT NULL, >> ALTER tempmin SET DEFAULT 0; >> NOTICE: Child foregn table child01 is affected. >> NOTICE: Child foregn table child02 is affected >> NOTICE: Child foregn table child03 rejected 'alter tempmin set default' >> >> What do you think about this? It looks a bit too loud for me >> though... > > I think that's a good idea. I just thought those messages would be shown for the user to readily notice the changes of the structures of child tables that are foreign, done by the recursive altering operation. But I overlooked the third line: NOTICE: Child foregn table child03 rejected 'alter tempmin set default' What does "rejected" in this message mean? Thanks, Best regards, Etsuro Fujita -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers