Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 2A1A2B5DBC0 for ; Thu, 16 Jun 2011 22:18:21 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 64362-04 for ; Fri, 17 Jun 2011 01:18:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp-4.01.com (smtp-4.01.com [38.102.63.183]) by mail.postgresql.org (Postfix) with ESMTP id 718CEB5D944 for ; Thu, 16 Jun 2011 22:18:14 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-4.01.com (Postfix) with ESMTP id A7E953BCE18 for ; Thu, 16 Jun 2011 20:18:14 -0500 (CDT) Received: from smtp-4.01.com ([127.0.0.1]) by localhost (smtp-4.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JIW6SDlU4zD0 for ; Thu, 16 Jun 2011 20:18:14 -0500 (CDT) Received: by smtp-4.01.com (Postfix, from userid 99) id 8D5D03BCE23; Thu, 16 Jun 2011 20:18:14 -0500 (CDT) Received: from mail-1.01.com (mail-1.01.com [38.102.63.171]) by smtp-4.01.com (Postfix) with ESMTP id 78E743BCE18 for ; Thu, 16 Jun 2011 20:18:14 -0500 (CDT) Date: Thu, 16 Jun 2011 20:18:14 -0500 (CDT) From: Joshua Berkus To: pgsql-docs@postgresql.org Message-ID: <1216779912.268766.1308273494450.JavaMail.root@mail-1.01.com> Subject: Sample file_fdw with example MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [12.207.22.242] X-Mailer: Zimbra 6.0.12_GA_2888 (ZimbraWebClient - SAF3 (Linux)/6.0.12_GA_2883) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201106/75 X-Sequence-Number: 6849 All, I thought that the FDW docs were somewhat lacking. Attached is a replacement version of file_fdw.sgml, which contains a complete example of reading your lo -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com San Francisco