Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 4871FB5DC5D for ; Wed, 19 Oct 2011 06:55:10 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 47036-03 for ; Wed, 19 Oct 2011 09:55:03 +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 A3C75B5DBBD for ; Wed, 19 Oct 2011 06:55:03 -0300 (ADT) 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.14.5/8.14.5) with ESMTP id p9J9swiK014925; Wed, 19 Oct 2011 18:54:58 +0900 (JST) Received: from mfs5.rdh.ecl.ntt.co.jp (localhost [127.0.0.1]) by mfs5.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id E350D6D8D; Wed, 19 Oct 2011 18:54:58 +0900 (JST) Received: from dmailsv1.y.ecl.ntt.co.jp (dmailsv1.y.ecl.ntt.co.jp [129.60.53.14]) by mfs5.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id DCFCA6D72; Wed, 19 Oct 2011 18:54:58 +0900 (JST) Received: from mailsv01.y.ecl.ntt.co.jp by dmailsv1.y.ecl.ntt.co.jp (8.14.4/dmailsv1-2.1) with ESMTP id p9J9swYO012136; Wed, 19 Oct 2011 18:54:58 +0900 (JST) Received: from localhost by mailsv01.y.ecl.ntt.co.jp (8.14.5/Lab-1.9) with ESMTP id p9J9swil012447; Wed, 19 Oct 2011 18:54:58 +0900 (JST) Message-ID: <4E9EA05E.7030005@lab.ntt.co.jp> Date: Wed, 19 Oct 2011 19:03:10 +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: Leonardo Francalanci CC: Shigeru Hanada , "pgsql-hackers@postgresql.org" Subject: Re: WIP: Collecting statistics on CSV file data References: <4E6DE18B.4010505@lab.ntt.co.jp> <4E7861C1.2000607@gmail.com> <4E8EC1D8.3080700@lab.ntt.co.jp> <4E9C6573.8050507@gmail.com> <1318923174.20848.YahooMailNeo@web29006.mail.ird.yahoo.com> In-Reply-To: <1318923174.20848.YahooMailNeo@web29006.mail.ird.yahoo.com> 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=-0.505 tagged_above=-5 required=5 tests=BAYES_20=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201110/1070 X-Sequence-Number: 196876 Hi, (2011/10/18 16:32), Leonardo Francalanci wrote: >> New API AnalyzeForeignTable > > I didn't look at the patch, but I'm using CSV foreign tables with named pipes > to get near-realtime KPI calculated by postgresql. Of course, pipes can be > read just once, so I wouldn't want an "automatic analyze" of foreign tables... The patch does not analyze on foreign tables automatically. (The issue of auto-analyze on foreign tables has been discussed. Please refer to [1].) [1] http://archives.postgresql.org/pgsql-hackers/2011-09/msg00992.php Best regards, Etsuro Fujita