Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E0A8AB5DBD9 for ; Fri, 7 Oct 2011 08:02:01 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 89704-07 for ; Fri, 7 Oct 2011 11:01:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from tama50.ecl.ntt.co.jp (tama50.ecl.ntt.co.jp [129.60.39.147]) by mail.postgresql.org (Postfix) with ESMTP id 4F0DFB5DBC0 for ; Fri, 7 Oct 2011 08:01:54 -0300 (ADT) Received: from mfs6.rdh.ecl.ntt.co.jp (mfs6.rdh.ecl.ntt.co.jp [129.60.39.149]) by tama50.ecl.ntt.co.jp (8.14.5/8.14.5) with ESMTP id p97B1l1E021363; Fri, 7 Oct 2011 20:01:47 +0900 (JST) Received: from mfs6.rdh.ecl.ntt.co.jp (localhost [127.0.0.1]) by mfs6.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id 62F1865F1; Fri, 7 Oct 2011 20:01:47 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [129.60.53.14]) by mfs6.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id 5740665EB; Fri, 7 Oct 2011 20:01:47 +0900 (JST) Received: from mailsv11.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.14.4/dmailsv1-2.1) with ESMTP id p97B1ljj019938; Fri, 7 Oct 2011 20:01:47 +0900 (JST) Received: from localhost by mailsv11.y.ecl.ntt.co.jp (8.14.4/Lab-1.9) with ESMTP id p97B1lYA003668; Fri, 7 Oct 2011 20:01:47 +0900 (JST) Message-ID: <4E8EDDF8.9080803@lab.ntt.co.jp> Date: Fri, 07 Oct 2011 20:09:44 +0900 From: Etsuro Fujita User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ja; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Alvaro Herrera CC: David Fetter , Tom Lane , Marti Raudsepp , Pg Hackers Subject: Re: WIP: Collecting statistics on CSV file data References: <4E6DE18B.4010505@lab.ntt.co.jp> <8240.1316531585@sss.pgh.pa.us> <20110921002232.GA18333@fetter.org> <1316566782-sup-2678@alvh.no-ip.org> In-Reply-To: <1316566782-sup-2678@alvh.no-ip.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/362 X-Sequence-Number: 196168 Hi, I'm very sorry for the late reply. (2011/09/21 10:00), Alvaro Herrera wrote: > Excerpts from David Fetter's message of mar sep 20 21:22:32 -0300 2011: >> On Tue, Sep 20, 2011 at 11:13:05AM -0400, Tom Lane wrote: > >>> Probably a more interesting question is why we wouldn't change >>> autovacuum so that it calls this automatically for foreign tables. >> >> How about a per-table setting that tells autovacuum whether to do >> this? > > Seems reasonable. Have autovacuum assume that foreign tables are not to > be analyzed, unless some reloption is set. Thank you for the comments. I'd like to leave that feature for future work. (But this is BTW. I'm interested in developing CREATE FOREIGN INDEX. I've examined whether there are discussions about the design and implementation of it in the archive, but could not find information. If you know anything, please tell me.) Best regards, Etsuro Fujita