Re: File_FDW with example - Mailing list pgsql-docs

From Magnus Hagander
Subject Re: File_FDW with example
Date
Msg-id BANLkTi=f=KW=fA7VC=p1BzBfn8vEzQ1iMA@mail.gmail.com
Whole thread Raw
In response to File_FDW with example  (Joshua Berkus <josh@agliodbs.com>)
Responses Re: File_FDW with example  (Josh Berkus <josh@agliodbs.com>)
List pgsql-docs
On Fri, Jun 17, 2011 at 03:21, Joshua Berkus <josh@agliodbs.com> wrote:
> (apologies for prior incomplete post.  Webmail spazzed on me).
>
> Attached is a version of file_FDW.sgml which contains a complete example of how to use it to read your postgresql csv
logs. I think this does some neat tying together of how to use FDWs that the docs are currently lacking. 

Hey, did you steal this straight from my blog? ;)

No, clearly not, because really.. Because the commands you've
suggested don't work, do they?
STATEMENT:  CREATE FOREIGN DATA WRAPPER file_fdw HANDLER file_fdw_handler;
ERROR:  foreign-data wrapper "file_fdw" already exists


because CREATE EXTENSION creates that one for you...


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

pgsql-docs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: File_FDW with example
Next
From: Greg Smith
Date:
Subject: Re: Small correction in http://www.postgresql.org/docs/9.0/interactive/wal-reliability.html