Foreign data wrappers
From PostgreSQL wiki
Foreign Data Wrappers
In 2003, a new extension called SQL/MED ( "SQL Management of External Data" ) was added to the SQL standard. It is a standardized way of handling access to remote objects in SQL databases. In 2011, PostgreSQL 9.1 was released with a great support of this standard.
In a nutshell, you can now use various Foreign Data Wrappers (FDW) to connect a PostgreSQL Server to remote data stores. This page is an incomplete list of the Wrappers available right now.
Please keep in mind that most of these wrappers are not officially supported by the PostgreSQL Global Development Group' (PGDG) and that some of these projects are still in Beta version. Use Carefully !
SQL Databases Wrappers
- source code : http://pgfoundry.org/projects/oracle-fdw/
- source code : http://github.com/dpage/mysql_fdw
odbc_fdw is wrapper for databases with an ODBC driver, including Oracle, DB2, Microsoft SQL Server, Sybase, Pervasive SQL, IBM Lotus Domino, MySQL, PostgreSQL and desktop database products such as FileMaker and Microsoft Access :
- source code : https://github.com/ZhengYang/odbc_fdw
- install with PGXN : http://pgxn.org/dist/odbc_fdw/
NoSQL Databases Wrappers
couchdb_fdw is a wrapper for CouchDB
- source code : https://github.com/ZhengYang/couchdb_fdw
- install with PGXN : http://pgxn.org/dist/couchdb_fdw/
redis_fdw is a wrapper for Redis
- source code : https://github.com/dpage/redis_fdw
file_fdw is a CSV Files wrapper. It is a delivered as an official extension of PostgreSQL 9.1
- documentation : http://www.postgresql.org/docs/9.1/static/file-fdw.html
- example : http://www.depesz.com/index.php/2011/03/14/waiting-for-9-1-foreign-data-wrapper/
file_text_array_fdw is another CSV wrapper :
- source code : https://github.com/adunstan/file_text_array_fdw
twitter_fdw is a wrapper which fetches text messages from Twitter over the Internet and returns as a table :